Ho un incidente:UIAlertView rende il crash del programma
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIKeyboardTaskQueue performTask:] may only be called from the main thread.'
E non sono riuscito a trovare una soluzione per 2 giorni. Ed ecco il codice:
[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];
cura di mostrarci il codice per la vista di avviso? –
Questo dovrebbe essere andato in crash in Xcode 4 e Xcode 3. – trojanfoe
Non credo che il messaggio di errore potrebbe essere molto più esplicito. – trojanfoe