English 中文(简体)
MBProgressHUD with ASIHTTP Request
原标题:MBProgressHUD with ASIHTTPRequest

我正试图利用巴斯帕普斯塔德展示通过ASINetwork Queue下载的多种图像的下载进展。

我已经把 定为网络Queue进步代表,我还确定了布林德至巴布斯塔德的道路。

I can make the hud display and hide, but I cannot change the progress. The hud just doesn t redraw itself until the networkQueue is complete.

我可以看到甲基溴进步 艾滋病毒/艾滋病宣传永远不会被叫.,但我不知道为什么。

如果任何人能够提供如何做到这一点的样本或假守则,我将非常感谢。

感谢

Andrius

问题回答

也许有两个可能的问题:

  1. The main thread of your application has been blocked; are you calling waitUntilAllOperationsAreFinished on the main thread or similar?

  2. 如果服务器是发送内容-Length的拖车:头盔,那么ASIHTTPRequest能够报告许多进展方式。





相关问题
ASIHTTPRequest, EXC_BAD_ACCESS when request did finished

I m trying to do an asynchronous request with ASIHTTPRequest, but have some problem getting notified when the request is done. -(void)doDownload{ NSURL *url = [NSURL URLWithString:@"http://www....

ASIHTTPRequest synchronously

I have an iPhone app which uses ASIHTTPRequest to communicate to a REST service on my server. When I m running on the simulator, it works just fine, but when I get onto the phone itself, I get weird ...

ASIHTTPRequest and ASP.NET

I need to upload files from iPhone to my ASP.NET server and found ASIHTTPRequest to be an easy tool. My question is he server part on the ASP.NET. How do I prepare the server part?

Is the ASIHTTPRequest is not asynchronous?

I am using ASIHTTPRequest to fetch some data from a web service. I am making requests using a loop. The problem is that it doesn t seem the request is going asynchronously so that my ...

ASIHTTPRequest code design

I m using ASIHTTPRequest to communicate with the server asynchronously. It works great, but I m doing requests in different controllers and now duplicated methods are in all those controllers. What is ...

热门标签