除了ASIHTTPRequest
并使用NSOperations
还有哪些方法可以实现多线程?如果有任何其他方法可以实现多线程,请提供链接。
我们也可以为AudioStreaming实现多线程以从url中检索..
答案 0 :(得分:0)
看看这个方法:
[NSThread detachNewThreadSelector:@selector(entryPointMethodForSecondThread) toTarget:objectWhereEntryPMethodDeclarated withObject:nil];
请注意,您必须在“入口点方法”中为其创建自动释放池。 详细信息请查看NSThread规范。