valeriyvan / NSURLSession-test

Project to illustrate question asked on stackoverflow

Home Page:http://stackoverflow.com/questions/36894299/suspended-nsurlsessionuploadtask-resume-when-applicationwillenterforeground-for

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Project to illustrate question asked on stackoverflow

http://stackoverflow.com/questions/36894299/suspended-nsurlsessionuploadtask-resume-when-applicationwillenterforeground-for


Languages

Language:Swift 100.0%