I want to show and hide the tab bar in two differnt views.i used the code
self.hidesBottomBarWhenPushed = YES;
its working fine in first view and in second view i am showing the Tabbar using same thing, but coming back to the first view it is not working.I used the code to go back is
[[self navigationController] popViewControllerAnimated:YES];
I cant use a pushViewController here because a number of classes redirected to this particular view.Exactly I want to hide the tab bar when I pop the view controller. please give me a solution
use this line
self.hidesBottomBarWhenPushed = YES;in
viewWillAppearbefore push.and use this line
in
viewWillDisappear