如果是navigationController + tabBarController的结构的话,在push到下一级的childController的时候用
childController.hidesBottomBarWhenPushed = YES;
就行了
childController.hidesBottomBarWhenPushed = YES;
就行了
本文介绍了一种在iOS应用中使用navigationController与tabBarController结构时,如何通过设置childController.hidesBottomBarWhenPushed属性为YES来实现在切换到下一个子控制器时隐藏底部标签栏的方法。

被折叠的 条评论
为什么被折叠?