NSURLSession-test
Project to illustrate question asked on stackoverflow
To be short, question is why suspended upload task starts uploading when app goes to background. According to documentation for NSURLSessionTask (NSURLSessionUpload task is subsclass of it), task is created suspended and has to be resumed to start working. Is this a bug? Or do I miss something?
Filed radar #26864489 after talking about this bug with Apple engineer in lab at WWDC 2016.