bool _WebTryThreadLock(bool),0xae8d250错误

时间:2012-12-31 06:47:17

标签: iphone ios multithreading dispatch-async

bool _WebTryThreadLock(bool),0xae8d250:试图从主线程或网络线程以外的线程获取Web锁。这可能是从辅助线程调用UIKit的结果。现在崩溃......

我的代码

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{[self.navigationController pushViewController:aController animated:YES];
});

1 个答案:

答案 0 :(得分:2)

尝试performSelectorinMainThread: