title: iOS: Does force quitting the app disables background upload using NSURLSession?
body: <p>The question is around <strong>NSURLSession</strong> and <strong>NSURLSessionUploadTask</strong>. </p>
  
  <p>I'm uploading large files to server and noticed that when I <strong>force quit</strong> the app the whole background upload just stops. However, when upload starts while app is running through the Xcode/debugger, then my upload completes just fine <strong>even</strong> when I stop the app running via Xcode 'stop' button. I suspect that force quitting the app using Xcode simulates an iOS system command and not a user action.</p>
  
  <p>So my question is whether it's true that iOS would immediately cancel <strong>NSURLSessionUploadTask</strong> when user force quit the app?? For some reason I would at least expect an error callback to the app, however nothing happens.</p>