I'm getting the following warning..
wait_fences: failed to receive reply: 10004003
I've calling the alert view from applicationWillEnterForegr
ound, 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.