Why is self.navigationController NULL when pushed from UITabBarController subviews
问题 This is what I am doing. I have a tabBarControllerOne with 5 tabs. On clicking one of the tabs, I present a modal view controller, which has a navigationBar and a TabBarControllerTwo (with 3 tabs). These three tabs are the matter for concern here. In the 5th Tab of tabBarController I show modalViewController as UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:self.nextTabView]; // navController.navigationBarHidden = YES; navController