State ottenendo questo errore dispari.wait_fences: impossibile ricevere risposta: 10004003 - cosa?
ecco l'affare - nel metodo seguente ho una visualizzazione di avviso, prendere un U/N e PW, quindi tentare di avviare un altro metodo.
Il metodo
-postTweet
non ottiene attivato
ottengo solo questo errore in console
wait_fences: failed to receive reply: 10004003
Che è davvero strano - come non ho mai visto prima
- (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];
}
}
}
Qualsiasi aiuto sarebbe apprezzato
Grazie
Sam
aggiunto:
Se avete bisogno di vedere più codice, poi fatemi sapere
Forse vedi questa domanda? http: // StackOverflow.it/questions/1371346/wait-fences-failed-to-receive-reply-10004003 –
Ho risolto lo stesso problema nel mio progetto. spero che tu possa risolvere lo stesso usando la risposta che ho postato qui sotto. – AppAspect
Quindi, sei in grado di risolvere questo problema. È davvero buono. Fammi sapere se vuoi più aiuto in qualsiasi momento. – AppAspect