开发者

NSURLDownload Cancelling

So I am using NSURLDownload in a program, and it requires that I give the user an option to cancel the donwload. I tried using the -cancel method but it only works up until the device starts receiving data at which point i cannot find a way to stop i开发者_运维问答t. any ideas?


I recommend using the ASIHTTPRequest library that provides a lot of nice abstractions and utility methods.

To cancel a request in the library, you can just do [request cancel]! Take a look at "How to use" code sample page.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜