简体   繁体   中英

How to download file With Alamofire?

I want continue download After I press 'startDownload' button, (Use resumeData) when I second time enter app after app terminated.

Here is my Example code: https://github.com/wgywgy/AlamofireDownloadDemo/tree/master

where to find resumeData?

您应该将“ cancelledData”保存在文件中,并且在应用终止后第二次输入app可以从该文件中读取数据作为NSData。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM