Comments (1)
看到了。UIApplicationWillTerminateNotification。
也看到了
if (self.didFinishedBlock) {
self.didFinishedBlock(self, nil , nil, YES);
self.didFinishedBlock = nil;
}else if (self.delegate &&
[self.delegate respondsToSelector:@selector(WHCDownloadDidFinished:data:error:success:)]) {
[self.delegate WHCDownloadDidFinished:self data:nil error:nil success:YES];
}
可是为什么我的程序正在下载的时候,强制退出,再次打开,读取序列化的数据有问题,不是退出时的下载数据信息呢,难道是程序退出时,并没有来得及保存那个operation吗?。求解释。。。。
看你的程序似乎是没问题的。
from whcnetworkkit.
Related Issues (20)
- 这个可以断点下载嘛?? HOT 8
- session的下载不支持断点续传 HOT 4
- 问题:下载图片,或者ogg视频文件时,会叠加下载 HOT 2
- 后台下载成功连接的情况下并不会跑responseBlock
- 文件名可以改为response.suggestedFilename
- iOS10下暂停的下载在恢复下载时报错Invalid resume data for background download. Background downloads must use http or https and must download to an accessible file.
- 我觉得有些可以优化的地方
- 上传图片的时候后台接收到的参数会有/r/n
- 请支持DELETE,PUT
- 我想问下,这个支持HTTPS吗?
- 发现断网之后就不能继续下载了,这个可以在哪里进行优化么 HOT 3
- 断开手机与xcode连接无法下载问题
- ssl 忽视证书~ HOT 1
- 同一个视频点击下载多次 HOT 13
- 暂停后无法恢复 HOT 3
- 断网后,部分下载任务会丢失,有网后,有的任务也不能重新下载了 HOT 2
- 真机运行时,锁屏自动停止下载,报error网络连接失败? HOT 3
- 还没找出来原因,UI上边的问题,看一下录屏吧,是不是文件沙盒路径的问题呢? HOT 3
- 下载过程中退出应用,再次启动无法继续下载
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whcnetworkkit.