Resuming tasks using NSURLSession when app removed from background or on device reboot

自闭症网瘾萝莉.ら 提交于 2019-12-05 06:17:43

Finally I come to conclusion that,

If an iOS app is terminated by the system and relaunched, the app can use the same identifier to create a new configuration object and session and retrieve the status of transfers that were in progress at the time of termination. This behavior applies only for normal termination of the app by the system.

If the user terminates the app from the multitasking screen, the system cancels all of the session’s background transfers.

For more details check Apple's documentation on NSURLSessionConfiguration Class Reference here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!