Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView] loaded the "2Pv-MD-gdY-view-bDF-TR-G6E" nib but didn't get a UITableView.'
なぜ私はそれを手に入れたのですか?私のアプリの要点は、アクション シートをトリガーするボタンを備えた UITableViewController があることです。アクション シートは、特定のオプションが押されると、View Controller を (モーダルに) 表示します。これが私のコードです:
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {
NSString *buttonTitle = [actionSheet buttonTitleAtIndex:buttonIndex];
if ([buttonTitle isEqualToString:@"Text"]) {
AddTextViewController *addTextViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"addTextViewController"];
[self presentViewController:addTextViewController animated:YES completion:nil];
}
}
さらに必要な情報を提供できますが、何が問題なのかわかりません。