UITabBar wont hide
问题 I have a UINavigationController in a UITabBarController, and I can't seem to get a pushed viewController's tabBar to hide. I am using the following code to hide it: Before it gets pushed: tpsv.hidesBottomBarWhenPushed = YES; tpsv.tabBarController.hidesBottomBarWhenPushed = YES; viewWillAppear: self.tabBarController.tabBar.hidden = YES; AppDelegate *del = (AppDelegate *)[[UIApplication sharedApplication] delegate]; [[[del tabController] tabBar]setHidden:YES]; But none of the above work. If you