是在主队列里面么,
时间:2014-01-14 19:26:02
收藏:0
阅读:600
这个只是传递了主线程
[xmppStreamaddDelegate:selfdelegateQueue:dispatch_get_main_queue()];
而具体网络请求放入主线程没有,还要 看具体执行的代码,比如,dispatch_async,dispatch_after,
模式:
1, NSError *error;
if ([mStream connect:&error])
2,XMPPElementReceipt *receipt = Nil;
[mStream sendElement:message andGetReceipt:&receipt];
原文:http://www.cnblogs.com/guligei/p/3512250.html
评论(0)