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