Nilesh Parmar
Nilesh Parmar

Reputation: 399

how to continue download in background after terminate app in iOS

My question is how to continue download in background after terminate app in iOS. so please suggest me.

Currently I'm using MZDownloadManager class in my application here is the link

Right now I'm using the above downloading classes and it works perfectly but now my requirement is when user terminate the app than also downloading will continue in background.

Above MZDownloadManager is works fine when first user put app in background and than terminate the app. But if user directly terminate the app it is not working.

Please provide proper suggestion.

Upvotes: 0

Views: 952

Answers (1)

iReddy
iReddy

Reputation: 467

How About NSURLSession Class ? By using this class you can resume downloading when the app is in background....

Have a Look into Below Link..

http://www.appcoda.com/background-transfer-service-ios7/#

One more suggestion is don't use other's open source code because you'll get a problem at the time App Submission.

Upvotes: 1

Related Questions