How to resume NSURLSession download process after app force-quit and app relaunch?

前端 未结 3 1984
傲寒
傲寒 2021-02-02 13:00

I have implemented NSURLSession for downloading fairly large files from our servers. Now as long as I\'m working in foreground or background and go back to the app

3条回答
  •  自闭症患者
    2021-02-02 13:55

    -> use URLSession background Sessions download doesn't stop at all....you don't have to explicitly code for resuming the download or something..

    https://developer.apple.com/reference/foundation/urlsession

    check for background session in this link...if you're not able get the still...comment me and i would help in detail.

提交回复
热议问题