Mam awarię:UIAlertView sprawia programu katastrofę
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIKeyboardTaskQueue performTask:] may only be called from the main thread.'
I nie mógł znaleźć rozwiązanie do 2 dni. A oto kod:
[alert dismissWithClickedButtonIndex:0 animated:YES];
UIAlertView *noTicketAlert = [[UIAlertView alloc] initWithTitle:@"Aradığınız kriterlere uygun bilet bulunamadı!" message:nil delegate:self cancelButtonTitle:@"Tamam" otherButtonTitles: nil];
[noTicketAlert show];
Opieka pokazać nam swój kod widok alertu? –
To powinno załamać się w Xcode 4 i Xcode 3. – trojanfoe
Nie sądzę, aby komunikat o błędzie mógł być bardziej wyraźny. – trojanfoe