是在主队列里面么,

这个只是传递了主线程

    [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];

posted @ 2014-01-09 15:12  路在脚下,  阅读(148)  评论(0编辑  收藏  举报