私はTableViewControllerで別のビューをプッシュしているカメラビューを持っています。 Navbar Controllerを使用して、メインビューから2番目のビューをプッシュできます。しかし、テーブルビューである第2ビューからの戻るボタンは反応しません。なぜ私は理解できません。UINavigation barのバックボタンが応答しない
ありがとうございます。
@WrightCSご連絡いただきありがとうございます。
私のアプリケーションデリゲートで。
ViewController *vc= [[ViewController alloc] init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:vc];
[self.window setRootViewController :navController];
[self.window makeKeyAndVisible];
return YES;
今私は一時的なボタンを使用してビューをプッシュしています。
-(IBAction)testButtonPressed {
TableView *tableVC = [[TableView alloc] initWithStyle:UITableViewStylePlain];
[self.navigationController pushViewController:tableVC animated:YES];
}
ビューに使用しているコード、2番目のビューの作成方法など – WrightsCS
@WrightsCS即時応答ありがとうございます。 – ilaunchpad
コード内に、戻るボタンが応答しない理由が示されていません。 – WrightsCS