警告:wait_fences:未收到回复:10004003 [英] warning : wait_fences: failed to receive reply: 10004003

查看:240
本文介绍了警告:wait_fences:未收到回复:10004003的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有时会收到此警告wait_fences:未收到回复:10004003,不知道为什么会这样,

I am getting this warning sometimes " wait_fences: failed to receive reply: 10004003 ", do not know why this is coming,

我没有viewdidiappear方法我的代码,我在我的视图中有一个UIAlert,代码是

I do not have viewdidiappear method in my code, i have a UIAlert in my view, the code is

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Start" message:[NSString stringWithFormat:@"Hi %@,",[user objectAtIndex:0] ] delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
[alert show];
[alert release];


推荐答案

如果您在评论中阅读我的答案,您会理解,但您需要做的是在 -viewDidAppear 方法中添加上述代码,并确保添加 [super viewDidAppear:YES]; 如果你想把它保存在你的init方法中,你将不得不像这样添加一个延迟


[self performSelector:@selector(next)withObject: nil afterDelay:0.5];

if you read my answer in the comment you would understand, but what you need to do is add the above code in the -viewDidAppear method and make sure you add [super viewDidAppear:YES]; and if you want to keep it in your init method you'll have to add a delay like so
[self performSelector:@selector(next) withObject:nil afterDelay:0.5];

这篇关于警告:wait_fences:未收到回复:10004003的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆