iOS: Does force quitting the app disables background upload using NSURLSession?

后端 未结 2 491
失恋的感觉
失恋的感觉 2020-12-09 04:02

The question is around NSURLSession and NSURLSessionUploadTask.

I\'m uploading large files to server and noticed that when I

2条回答
  •  无人及你
    2020-12-09 04:50

    From Apple's docs about background execution:

    If tasks have not yet finished and the system terminates your app, the system automatically continues managing the tasks in the background. If the user terminates your app, the system cancels any pending tasks.

提交回复
热议问题