我通过以下方式推动控制器:
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];
我应该用什么来关闭最后一个视图?