I am developing an iOS application that has the capability of uploading data to a remote endpoint. Because a good user experience would involve being able to leave the app to go do some other task while it is uploading, should I initiate all my uploads with the beginBackgroundTaskWithExpirationHandler: API?
I am developing an iOS application that has the capability of uploading data to
Share
Yes. That is consistent with one of the design patterns described in the application design guide:
Then in the expiration handler you can mark the upload as incomplete, and return to it in
applicationDidBecomeActive:.