I've used tabbar controller. When I navigate by push controller, I've hidden tabbar by using method
self.hidesBottomBarWhenPushed = YES;
And when back to Main Root controller, its still hidden. But, I want to re-show tabbar controller on root controller.
I've used
self.tabBarController.tabBar.hidden = FALSE;
But not working. So, how can I get this?
Tell me any solution. Thanks in advance.
You can hide your tabBar using this
self.tabBarController.tabBar.hidden=YES;
And if you want to show it again then use viewWillApper
-(void)viewWillAppear:(BOOL)animated
{
self.tabBarController.tabBar.hidden=NO;
}
And if you want to make animation with hide and show tabBar then follow my answer Stack Answer Link