इस अजीब त्रुटि को प्राप्त किया गया।wait_fences: उत्तर प्राप्त करने में विफल: 10004003 - क्या?
सौदा करता है - नीचे दी गई विधि में मेरे पास एक चेतावनी दृश्य आया है, एक यू/एन और पीडब्ल्यू लें, फिर एक और विधि शुरू करने के लिए प्रयास करें।
विधि
-postTweet
सक्रिय नहीं हो
मैं सिर्फ सांत्वना
wait_fences: failed to receive reply: 10004003
में इस त्रुटि मिलती है कौन वास्तव में अजीब है - के रूप में Ive कभी नहीं यह
- (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।कॉम/प्रश्न/1371346/प्रतीक्षा-बाड़-विफल-से-प्राप्त-उत्तर-10004003 –
मैंने अपनी परियोजना में एक ही समस्या हल की। आशा है कि आप नीचे दिए गए उत्तर का उपयोग करके भी इसे हल कर सकते हैं। – AppAspect
तो, आप उस समस्या को हल करने में सक्षम हैं। यह बहुत अच्छा है। अगर आप किसी भी समय और मदद चाहते हैं तो मुझे बताएं। – AppAspect