Hi,I'm developing an uploader of with NSOperations. I got it to work with NSURLSessionConfiguration using background config, but it is buggy beacuse some of the memory leak that I'm experiencing with NSOperation.my code is kind of big to post it here but If you want I can do that. I'll try to explain overall what I'm doing.I have a UploadOperation that depends on a ConvertFile Operation. I have a NSOperationQueue configure like this: self.uploadQueue = [NSOperationQueue new]; self.uploadQueue.name = @Upload Process Queue; self.uploadQueue.maxConcurrentOperationCount = 4; self.uploadQueue.qualityOfService = NSOperationQualityOfServiceUserInitiated;The upload only starts after the file is successfuly converted... OK...Now the uploadOperation kicks in.. it reads to a NSData like so NSData* data = [[NSData alloc] initWithContentsOfFile:self.pathFile]; and the I create the request ... and add it to the background NSURLSessionUploadTask and the even clear the nsdata, the request and the body from the main(
3
0
1.9k