开发者

UI Freezing on ASINetworkQueue request

开发者 https://www.devze.com 2022-12-08 01:07 出处:网络
I am using ASIHTTpREQUEST I am adding about 10 requests toASINetworkQueue and calling go ( exactly like in the sample code ) .

I am using ASIHTTpREQUEST

I am adding about 10 requests to ASINetworkQueue and calling go ( exactly like in the sample code ) .

But as soon as my queue starts my iphone ui totally freezes and "unfreezes" only when queue is done .

I want my UIAction to take priority over network activity .开发者_如何转开发 Should i be doing/ setting something else ?


Are you certain that you are using asynchronous requests, not synchronous? It sounds like synchronous (which will block the UI thread) in the situation you're describing.

0

精彩评论

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