I'm porting an Android Application on iOS, in the android application I'm downloading big files (150+ MB) but i found that there are no evident alternatives on iOS.
In the android application, the download continues even if the application is closed and i can store the download ID in the SharedPreferences / Local Database and retrieve it later to check if download has been completed or not.
How would you port such an application on iOS?
You can use AFNetworking with AFURLSessionManager. It wraps NSURLSession, which allows downloading in the background on iOS 7 and later. http://nshipster.com/afnetworking-2/
Sample code can be found at http://code.tutsplus.com/tutorials/working-with-nsurlsession-afnetworking-20--mobile-22651