我有一个 UITabBarController 和几个选项卡,每个选项卡都与一个 subview Controller 相关联。
现在在其中一个 subview Controller 中,如果我推送一个 View Controller ,它不会全屏推送,而是推送到 UITabBar 的“上方”。
如何全屏推送它?
P.S 我已经尝试了 hidesBottomBarWhenPushed
选项,当目标 View Controller 存在时,我可以看到底部有一个空白区域,然后 View 被拉伸(stretch)以填充该空白区域,看起来很奇怪。
最佳答案
您必须在推送的 View Controller 上应用hideTabBarsWhenPushed
。
关于ios - UITabBarController 全屏推送新的 View Controller ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37484976/