我正在开发一个 iPhone 应用程序,其中有一个 UITabBarController,其中每个 TabBarItem 都有一个 UINavigationController。
我想,经过一定程度的导航,隐藏 TabBar,并用全屏 View 替换它,就像 iPod 应用程序一样,当您到达媒体播放器时 TabBar 隐藏,并在您返回播放列表或返回时返回任何。
非常感谢任何帮助或想法
最佳答案
设置新 viewController 的 hidesBottomBarWhenPushed:
-属性(property)。这将隐藏当前的 UITabBar
当您发送 [navController pushViewController:viewController animated:YES]
-功能。
当您弹出 viewController 时,它也会重新出现。
关于iphone - 加载某些 View 时如何隐藏 TabBarView?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3807255/