テーブルビューを設定しました。メインビューでは、アラートメッセージを使用しました。ユーザーが[OK]ボタンをクリックすると、テーブルビューが開きます。
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
{
if (buttonIndex == 0) {
//do nothing
}
else if (buttonIndex == 1) {
myTableViewController *nextViewController = [[myTableViewController alloc] initWithNibName:nil bundle:nil];
[self presentViewController:nextViewController animated:YES completion:nil];
}
}
テーブルビューは表示されますが、一部が欠落しています。上部にナビゲーションバーがあり、下部にツールバーがありません。セルのみが表示されます。
他のアプローチからこのテーブルビューに移行すると、正しく表示できるので、何が悪かったのかわかりません。
誰でも助けてくれますか?ありがとうございました!