Has anyone successfully hidden a UITabbar when rotating the device?
I have one view in the UItabbar controller that i rotate (So effectively one tab that rotates)
When this happens i want the tab bar to disappear… but nothing seems to work!
Either the tabbar still remains visible
Or it disappears along with the view
Or the tabbar disappears and the view no longer rotates!
So if anyone has successfully accomplished this task any advice would be greatly appreciated!
Thanks
Tom
Sorry for the late reply pk
I managed to rotate and hide the tab bar.
First it was a case of subclassing the UITabBarController, and including this method:
And then you can rotate from only the required view controllers.
To hide the tab bar:
Get reference to the app delegate and the Tab bar controller, and then set the tab bar to hidden:
Hope this helps!