Nice tutorial Kyle Stewart. But I am running into a problem. NSURLSession’s delegate method has a weird behaviour . I am uploading a video (multipart) and want to show upload progress in progress bar but below method get called before completion block of upload task.
- (void)URLSession:(NSURLSession *)session
NSLog(@”upload progress :%f”,(double)totalBytesSent /(double)totalBytesExpectedToSend);
Can you suggest some solution ?