iOS Background downloads when the app is not active

后端 未结 8 1506
日久生厌
日久生厌 2020-11-27 13:28

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

8条回答
  •  广开言路
    2020-11-27 13:52

    Build a newsStand iOS application; not a standart iOS application.

    Standart iOS aplications:

    • can not download data when closed.
    • can download data in limited time when pushed to background.
    • Not enough time to download 200mb.

    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

提交回复
热议问题