1
我遇到了dispatch_async挂起的问题。我想知道队列中有什么操作/方法,当我向队列中添加另一个操作时,我可以追踪队列挂起的位置。调度队列中的列表项
dispatch_async(dispatch_get_main_queue(), ^{
// NSLog the items in the queue at this moment
[_delegate searchOperationFinished:self];
});
我验证了队列正在运行,它运行了其他操作,但它从来没有让它运行到最后来运行此方法。