由于我是新手,我想添加带有标签栏控制器和登录页面的导航控制器,当我点击标签栏控制器视图上的注销按钮时,它将让我登录页面没有导航栏以及没有tabbar控制器。 提前谢谢。
答案 0 :(得分:0)
单击该选项卡调用一个函数,该函数包含这些代码行
self.hidesBottomBarWhenPushed=YES;//for hiding tabBar
befor push statements
并使用此
self.navigationController.navigationBarHidden=YES;//for hiding navigation bar