Force quit, refers to the state in which the user has removed the app from the recent apps
pane. This effectively force quits the app because no instance of the app is currently in memory.
There is no way around this unless your app makes use of specific background services to keep
Huh? You’re issuing the request in the NSURLSession shared session. Such requests will only run as long as the app remains running. If the app is suspended again, which is typically what happens in this case, the request will stop halfway through.
You have two options here:
Continue using the shared session and use a UIApplication background task to prevent your app from suspended.
IMPORTANT For this to work the request must completely quickly, because the UIApplication background task will typically only give you about 30 seconds of execution time.
Run the request in an NSURLSession background session, which will organise to resume your app when the request is complete.
If you choose the latter option, make sure you read the following:
Share and Enjoy
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
DTS will close for the winter holidays at the end of business on Wed, 23 Dec 2015 and re-open on Mon, 4 Jan 2016.