How to hide parent tabbar when pushing controller in navigationController

If you prefer storyboard configuration over coding there is a toggle for that. Just go destinationViewController > Attribute Inspector:

enter image description here


A very simple solution:

 destinationViewController.hidesBottomBarWhenPushed = YES;

In your case:

 articleController.hidesBottomBarWhenPushed = YES;

Hope this helps!


You can simple hide parent tabbar through storyboard .

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


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;