hide tab bar in view with push

前端 未结 7 1684
离开以前
离开以前 2021-02-03 22:51

I have a tabBar + NavigationViewController. The Tab bar has collection view with cells(Say view1) and with cells a push seag

7条回答
  •  执念已碎
    2021-02-03 23:06

    In the viewDidload set the UIViewController hidesBottomBarWhenPushed to yes:

    self.hidesBottomBarWhenPushed = YES;
    

    This way the UINavigationController takes care of hiding the tab bar.

提交回复
热议问题