开发者

Sample code for file upload resuming on iOS?

I have an iOS app where the user has the capability to upload video. I'd like to be able to support the resuming of uploads for when an upload is interrupted by the network, user, or any other circumstance. I realize this will require changes开发者_如何转开发 both on the client and server-side. I was wondering if anyone could point me in the right direction for sample code and/or documentation I can read for clues in how to support this functionality? Something with clues on proper chunking, figuring out what chunk was last sent after an interrupted connection, etc.


See ASIHTTPRequest for this. It is a great replacement library for anything network.


See ASIHTTPRequest documentation

Or

you can download sample code here

1 - How can I upload a photo to a server with the iPhone?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜