iphone - Hide UITabBar? -
In my app I have a tab bar and in some scenes I have a toolbar so that when I am with a toolbar If I come to those scenes, it looks ugly - two times below the scene. I thought it would be the best solution to hide a tab bar while entering those special scenes, but I did not understand how to do it correctly. I tried to set YitabBarController's tabbar hidden property to Yes, but it was not working. And I also try to do whatever I see in the following things:
self.hidesBottomBarWhenPushed = YES; But it also does not work properly.
What is the correct solution to this situation? I do not want to do 2 times in any scene.
Thank you.
You have to use the hidden setBottombar when you are pushing the UTBB controller and not the controller The prop property transmits for.
otherController.hidesBottomBarWhenPushed = yes; [Navigation Push ViewController: Other Controller Animated: TRUE]; Or you can set that property when you first start the controller that you want to push
Comments
Post a Comment