wait_fences: failed to receive reply: 10004003 - what?!

Posted by Sam Jarman on Stack Overflow See other posts from Stack Overflow or by Sam Jarman
Published on 2010-04-07T08:30:29Z Indexed on 2010/04/07 8:33 UTC
Read the original article Hit count: 1454

Hey Guys

Been getting this odd error.

heres the deal - in the below method i have an alert view come up, take a U/N and PW, then atempt to start another method.

The method

   -postTweet

does not get activated

I just get this error in console

 wait_fences: failed to receive reply: 10004003

Which is really odd - as ive never seen it before

 - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{

if (alertView == completeAlert ) {

if (buttonIndex ==1) {


    passPromtAlert = [[UIAlertView alloc] initWithTitle:@"Enter Name" message:@"Please enter your Username and password - they will be saved\n" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Tweet", nil];
    [passPromtAlert addTextFieldWithValue:@"" label:@"Enter username"];
    [passPromtAlert addTextFieldWithValue:@"" label:@"Enter password"];

    textField = [passPromtAlert textFieldAtIndex:0];
    textField2 = [passPromtAlert textFieldAtIndex:1];
    textField.clearButtonMode = UITextFieldViewModeWhileEditing;
    textField.keyboardType = UIKeyboardTypeAlphabet;
    textField.keyboardAppearance = UIKeyboardAppearanceAlert;
    textField.autocapitalizationType  = UITextAutocapitalizationTypeWords;
    textField.autocorrectionType = UITextAutocapitalizationTypeNone;
    textField.textAlignment = UITextAlignmentCenter;

    textField2.secureTextEntry = YES;

    textField2.clearButtonMode = UITextFieldViewModeWhileEditing;
    textField2.keyboardType = UIKeyboardTypeAlphabet;
    textField2.keyboardAppearance = UIKeyboardAppearanceAlert;
    textField2.autocapitalizationType  = UITextAutocapitalizationTypeWords;
    textField2.autocorrectionType = UITextAutocapitalizationTypeNone;
    textField2.textAlignment = UITextAlignmentCenter;

    [passPromtAlert show];
}


    if (alertView == passPromtAlert ) {

        if (buttonIndex == 1) {


        NSLog(@"here");         
        [self postTweet];
        }
    }


}

}

Any help would be appreciated

Thanks

Sam

© Stack Overflow or respective owner

Related posts about uialertview

Related posts about uitextfield