How to hide parent tabbar when pushing controller in navigationController

后端 未结 8 651
耶瑟儿~
耶瑟儿~ 2020-12-14 07:06

I have an application with a tab bar controller and each view contains a navigation controller. My MainWindow looks as follows: Image here http://www.freeimagehosting.net/im

8条回答
  •  误落风尘
    2020-12-14 07:42

    A very simple solution:

     destinationViewController.hidesBottomBarWhenPushed = YES;
    

    In your case:

     articleController.hidesBottomBarWhenPushed = YES;
    

    Hope this helps!

提交回复
热议问题