Получил эту нечетную ошибку.wait_fences: не удалось получить ответ: 10004003 - что?
heres the deal - в нижеследующем методе у меня появилось предупреждение, возьмите U/N и PW, затем попытайтесь запустить другой метод.
Метод
-postTweet
не активизируются
Я просто получаю эту ошибку в консоли
wait_fences: failed to receive reply: 10004003
Что действительно странно, - как я никогда не видел его раньше
- (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];
}
}
}
Любая помощь будет оценена
Спасибо
Сэм
ДОБАВЛЕНО:
Если вы хотите увидеть больше кода, то дайте мне знать
Возможно, этот вопрос задан? Http: // StackOverflow.com/questions/1371346/wait-fences-failed-to-receive-reply-10004003 –
Я решил ту же проблему в своем проекте. надеюсь, что вы также можете решить то же самое, используя ответ, который я разместил ниже. – AppAspect
Итак, вы можете решить эту проблему. Это действительно хорошо. Дайте мне знать, если вы хотите больше помочь в любое время. – AppAspect