Try to hide it before and after the detail view get called.
That means you have to hidesBottomBarWhenPushed at the ViewDidLoad and ViewWillAppear methods.
Hope this helps, if you still have the issue.
Quote:
Originally Posted by GabrielV.
Hi,
I'm having a similar issue.
I have a UITabBarController which is declared in the app delegate, and added to the window as a subview. Each tab in the tab bar controller has a view with a navigation controller and a table view. When I drill down to the last view on the stack (which is just a view, not a table view) I want to hide to tab bar so that I get a nice full screen.
I've tried setting the "hidesBottomBarWhenPushed" property to "YES" in the TableViewController Class, just before I push the detail view onto the stack like so:
detailController.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:detailController animated:YES];
Unfortunately it doesn't do the trick. I'm guessing it might be because the tab bar controller is declared in the appdelegate or something of the sort.
Please help!
|