开发者

using nsurlconnection calculate remaining time for download

I am downloading 开发者_StackOverflowa 25+ mb file from the server. Is there a way to predict the remaining time to download ? if yes how ?


If you use ASIHTTPRequest instead of NSURLConnection, there are delegate methods to report total size and progress. If you're looking to hook up a progress bar, there's a very simple method to do exactly that.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜