我正在开发一个应用程序,我UINavigationController
在AppDelegate
. 在启动时,我用UIViewController
.
self.navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
[self.navigationController setNavigationBarHidden:YES];
[window addSubview:self.navigationController.view]; like this.
但是,我想将 other 添加UIViewControllers
到,但我知道每次我想使用 other 时UINavigatioNController
重新初始化不是一个好习惯。请你能告诉我这样做的正常方法吗?UINavigationController
UIViewControllers