wait_fences: failed to receive reply: 10004003 子线程修改界面
2012-05-04 14:02
274 查看
当在子线程修改界面时,界面不会显示修改后的结果,会等待(卡住)到主线程下一次刷新界面是查询到界面有更新,这时则一起刷新到界面上,如果要求在子线程立刻显示的被修改的界面就调用主线程的函数 eg:
[self performSelectorOnMainThread:@selector(onResp*****eInMainThread) withObject:nil waitUntilDone:YES];
waitUntilDone:YES 等待主线程 NO则是不等待主线程!一般用NO吧。。这个效果较好较常用!
[self performSelectorOnMainThread:@selector(onResp*****eInMainThread) withObject:nil waitUntilDone:YES];
waitUntilDone:YES 等待主线程 NO则是不等待主线程!一般用NO吧。。这个效果较好较常用!
相关文章推荐
- iOS开发异常错误总结之——wait_fences: failed to receive reply: 10004003
- iOS开发异常错误总结之——wait_fences: failed to receive reply: 10004003
- iOS开发异常错误总结之——wait_fences: failed to receive reply: 10004003
- ios--对话框异常--wait_fences: failed to receive reply: 10004003
- iOS开发异常错误总结之——wait_fences: failed to receive reply: 10004003
- wait_fences: failed to receive reply: 10004003奇怪的错误
- wait_fences: failed to receive reply: 10004003问题的引起原因
- wait_fences: failed to receive reply: 10004003
- wait_fences: failed to receive reply: 10004003问题的引起原因
- wait_fences: failed to receive reply: 10004003 的疑惑
- 【转】wait_fences: failed to receive reply: 10004003问题的引起原因
- iOS错误:wait_fences: failed to receive reply: 10004003?
- 【转】wait_fences: failed to receive reply: 10004003
- iOS开发异常错误总结之——wait_fences: failed to receive reply: 10004003
- iOS开发异常错误总结之——wait_fences: failed to receive reply: 10004003
- 遭遇wait_fences: failed to receive reply: 10004003错误
- ORA-27140: attach to post/wait facility failed
- Jmail ,发送邮件出错, The message was undeliverable. All servers failed to receive the message
- Failed to receive access token原因
- 预览时显示Failed to find style buttonStyle 报错,预览界面字体小