"wait_fences: failed to receive reply: 10004003"?

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2009-09-03T03:48:32Z Indexed on 2010/05/31 16:23 UTC
Read the original article Hit count: 710

I get this cryptic error the first time (and only the first time) my view is loaded due to the following line of code:

- (void)viewWillAppear:(BOOL)animated
{
    [textField becomeFirstResponder];
}

There is a noticeable (~3 – 4 second, even on the simulator) delay due to this that makes my app feel unresponsive. Does anyone know how to fix this? I can't find any documentation on it on Apple's site, or any solutions here or on Google.

Strangely, the opposite situation happens if I put the line in -viewDidAppear: instead of -viewWillAppear:; that is, instead of printing the error only the first time the keyboard is shown and never again, the error is not printed the first time but every time after. This is causing a major headache for me.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c