1

When I push from a navigation controller (which is embed in a tabbar controller) to a new tabbar controller.

There is an issue here, the new tabbar controller is short than normal.

You can see the black rectangle under the tabbar of new tabbar controller.

And in the view hierarchy:

enter image description here

How to solve this issue here?

If can not, how to avoid this issue? I want from a tabbar controller push to a new tabbar controller.

user7693832
  • 6,119
  • 19
  • 63
  • 114
  • Hi, which viewController is pushing the view controller ? The Viewcontroller, the TabBarViewController or An navigationViewController ? – Pierre Perrin Apr 25 '17 at 11:19

1 Answers1

0

If you created a storyboard item for TabBarController you wish to push to from navigation Controller, go to it and click on the checkbox Hide Bottom Bar On Push . This will hide the bottom tabBar of the parent TabBarController.

Do note that Apple does not recommend TabBarController to be rootViewController of Navigation Controller.

Image

MrDank
  • 2,020
  • 2
  • 17
  • 39