How to hide parent tabbar when pushing controller in navigationController

后端 未结 8 633
耶瑟儿~
耶瑟儿~ 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 08:00

    You can simple hide parent tabbar through storyboard .

    Select viewcontroller > Attribute Inspector > check Hide Bottom Bar on Push

    0 讨论(0)
  • 2020-12-14 08:02

    After spending hours and posting a question here I found that the solution to this problem is adding the following line after the instantiation of ArticleController.

    articleController.hidesBottomBarWhenPushed = YES;
    
    0 讨论(0)
提交回复
热议问题