1.
一级界面(rootViewController)
self.hidesBottomBarWhenPushed = true
self.navigationController?.pushViewController(JYMyCommissionController(), animated: true)
self.hidesBottomBarWhenPushed = false
2.
二级界面
self.hidesBottomBarWhenPushed = true
self.navigationController?.pushViewController(JYMyCommissionController(), animated: true)
之后 所有子页面不需要设置了
swift hidesBottomBarWhenPushed 设置界面
原文:https://www.cnblogs.com/qingzZ/p/10413583.html