开发者

Pause/Resume download functionality for iPhone

I want to implement a download manager in iPhone. Now it appears that it iPhone SDK esp NSURLConnection does not support Pause/Resume functionality if the server does not support the Range headers.

I don't want to use external libraries like ASHTTPRequest.

Is ther开发者_Python百科e any way I could support resuming of an application from where it was stopped


Why build something from scratch that has been build before? ASIHTTPRequest can handle this sort of thing perfectly, there is no need for you to reinvent the wheel. If you do enjoy such a thing, perhaps take a peek at how they do it (it's open source you know).


If the server doesn't support the range headers, it won't be able to send partial data and so you won't be able to resume from where it was stopped.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜