Link to home
Start Free TrialLog in
Avatar of mindwarpltd
mindwarpltd

asked on

Warning, wait_fences: failed to receive reply: 10004003 while using an UIAlertView

I'm getting the following warning..

wait_fences: failed to receive reply: 10004003

I've calling the alert view from applicationWillEnterForeground, however the warning occurs after didDissMissWithButtonIndex.

- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex
{
UITextField* theTextField = ((UITextField*)[alertView viewWithTag: 1]);

if(buttonIndex == 1)
{
    NSLog(@"Password=%@", theTextField.text);
}
[theTextField resignFirstResponder];

//[theTextField removeFromSuperview];  
//[theTextField release];
}

Open in new window


I've been told if I need to swap clickedButtonAtIndex in for the delegate method, this could solve the problem, but I've no idea how to do this.
ASKER CERTIFIED SOLUTION
Avatar of xeonol
xeonol
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mindwarpltd
mindwarpltd

ASKER

Excellent