Hi I have a similar problem while uploading video files in the background. I have multiple files to be uploaded in the background. Lets assume video1 is being uploaded. Now if a user decided to pause the upload for video1 I make a call to uploadTask suspend and then create a new task in the same background session using
Hi I have a similar problem while uploading video files in the background. I have multiple files to be uploaded in the background. Lets assume video1 is being uploaded. Now if a user decided to pause the upload for video1 I make a call to uploadTask suspend and then create a new task in the same background session using
self.uploadTask = [self.session uploadTaskWithRequest:afRequest fromFile:[NSURL fileURLWithPath:dataPath]];
[self.uploadTask resume];
The second file starts uploading but somehow does not work in the background. Please help me on this