I have an application where I have a TabBarController with 4 tabs init, When you click the button on the front view(Which is the first tab), a view is uploaded in the navigation view. Now I want to use the UIImagePicker Controller to take a picture and save it in this second view. When I do so the modal Controller is loaded but the bottom bar of that controller which has buttons Choose and cancel are get covered by the tabbar.
I tried using
viewController.hidesBottomBarWhenPushed = YES;
But it dont hide the tabBar.
Is there any way to hide the tabBar or load the modalController view to select the picture over the tabBar.
Because you are pushing the view onto the Navigation stack (I presume by using [self pushViewController:etc]) it’s all happening inside the Navigation controller and so the tab bar will always appear on top.
What you need to do is to add it on top of the window which is holding the Navigation controller. Assuming you have a single Navigation controller owned by the app delegate, your code might be something like this:
Hope that helps!