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
-> 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.