相关疑难解决方法(0)

当UIViewController推送时显示UITabBar

这是我的情况:
我有一个UINavigationController内部UITabBarController.当我向下钻取导航控制器时,在某些时候我必须隐藏它,UITabBar因为我希望视图具有尽可能多的空间.
我通过self.hidesBottomBarWhenPushed = YES在推动内部使用来做到这一点UIViewController,并且它工作得很好.
但是,我想UITabBar在后面推出的控制器中显示后面的内容.我试图放入self.hidesBottomBarWhenPushed = NO其他控制器,但UITabBar不会回来.

文档说明似乎是正常的:

hidesBottomBarWhenPushed

If YES, the bar at the bottom of the screen is hidden; otherwise, NO. If YES, the bottom bar remains hidden until the view controller is popped from the stack.

实际上,当弹出具有此属性设置为yes的控制器时,tabbar会返回.

UITabBar一旦它被隐藏了,是否有任何正确的方法来显示控制器被推动的时间?

提前致谢

iphone show uinavigationcontroller uitabbar drilldown

9
推荐指数
3
解决办法
1万
查看次数