阅读背景:

在单独的NSThread上实现异步下载(NSURLConnection)?

来源:互联网 

This may sounds weird but please bear with me. I have 6-7 API calls which make request to a server one by one. I want to implement these calls in a separate thread. But when I do this, none of my delegate methods (of NSURLConnection) gets called even after managing a separate NSRunloop ([[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];)This may sounds weird but please bear with me.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: