wait_fences: failed to receive reply: 10004003

wait_fences: failed to receive reply: 10004003的原因:这个问题的实质应该是在非主线程中 直接修改 界面
解决的方法:在后台或子线程做的操作,刷新UI的时候,一定要在主线程进行


//可能的具体情况:
1、需要实现UIAlertView的代理方法
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
}
2、在viewDidLoad方法里面生成了多个Button,在点击button是,切换他们的selected状态,会出现这个问题


//
[iphone][xcode]wait_fences: failed to receive reply: 10004003
在View未显示之前就执行动画之类的错误警告
例如:在没有rootViewController只有window的情况下,启动了UIAlertView,会出现这个警告

你可能感兴趣的:(UI,xcode,iPhone,button)