When my app is initially downloaded, the user needs to download a large file something like 200MB (upper limit). I definitely can\'t expect the user to keep the app open til
Unfortunately most answers here are outdated in 2020! iOS 13 reduces the time of -beginBackgroundTaskWithExpirationHandler:
to seconds from minutes and also kills the app with adverse effects. I also consider disabling auto screensaver mode for the duration of the download. More information can be found here:
Build a newsStand iOS application; not a standart iOS application.
Standart iOS aplications:
NewsStand applications have an extra time privilege to download when closed or inBackground. Once in every 24 hours, they have a privilege to answer a remoteContentReady delegate call.
Building a newsStand application is no different than building a standart iOS application. You will just mark it as newStand application.
Then you will have privilege to run code which is inside remoteContentReady delegation.
To receive remoteContentReady signal, you have to send a signal from your serverside (c#, php, bla bla).
Not to every single iOS app. Something like a remoteNotification signal. You may need ssl certification for your website in order to accomplish this.
Best Regards