Push时隐藏Tabbar
早就写了,不知咋地找不到了 = =b 用到了没在帖子里搜到又来发一帖~
可以在要隐藏的ViewController里的init方法里加上:
self.hidesBottomBarWhenPushed=YES;
或者假设定义的ViewController是vc,那么应该加这一句:可以在要隐藏的ViewController里的init方法里加上:
self.hidesBottomBarWhenPushed=YES;
vc.hidesBottomBarWhenPushed=YES;
或
[vc setHidesBottomBarWhenPus
评论
发表评论