If the application uses NSURLConnection to start a download while the app is in the foreground, but then the app moves to the background before the data has finished downloa
You need to start it as a background task for task that you wish to continue in background even if that task is in foreground beginning with. Check out the section "beyond the basics" in this Apple doc: https://developer.apple.com/library/ios/ipad/#technotes/tn2277/_index.html