This question has been asked a lot and there are quite a few answers, but none of the answers I can find answer the following:
I have a UITabBarController
I want to hide the tab bar, so I call:
self.tabBarController.tabBar.hidden = YES
This removes the bar, but there is now an empty black box where the tab bar used to reside. I've tried resizing the frame of the ViewController that is currently being presented and it is always behind the black box left from the tab bar.
I also loop through all the subviews and hide them, no luck there.
Finally, I tried resizing the frame of the tabbar, and that doesn't do the trick either
Has anyone had any luck with this?
Also: hidesBottomBarWhenPushed doesn't work because the app isn't based on a UINavigationViewController, it is based on a UITabBarController.
This is an iPad app