开发者

How can you stop a running ASIHTTPNetworkQueue?

I am wondering how you can stop a running ASIHTT开发者_如何学运维PNetworkQueue ?

Is it somehow possible? Because when I dismiss my view where the network queue is set up, my app crashes.


According to the documentation you would use

[queue cancelAllOperations];

I'd suggest though that you may wish to consider placing all your core networking in a single shared data model class as that way you don't have problems with view controllers coming and going.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜