I have a UIViewController
inside Tab bar. For one VC in Tab bar I allow the interface to rotate upon device rotation. The challenge is, that I want to hide the Tab bar and resize my view inside.
What I did:
1) called - (void)willAnimateRotation....
in my Tab bar controller and set self.tabBar.isHidden
to true -> the Tab bar disappeared.
2) called - (void)willAnimateRotation....
and set self.mapView.frame
to maximum height.
BUT...I still have a black stripe in the bottom of the screen in exact size of the tab bar. Is there a way how to make the tab bar disappeat completely?
This worked for me
If you want to always hide the tab bar when a particular
UIViewController
is pushed, you can do: