次の方法でコントローラーをプッシュしています:
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
そこに着くと、どちらにも戻れません
[self dismissViewControllerAnimated:YES completion:nil];
また
[self.navigationController popViewControllerAnimated:YES];
最後のビューを閉じるには何を使用すればよいですか?