//1.設(shè)置
self.tabBarController.tabBar.hidden=YES;
//2.如果在push跳轉(zhuǎn)時需要隱藏tabBar,設(shè)置
self.hidesBottomBarWhenPushed=YES;
NewViewController *new=[[NewViewController alloc]init];
[self.navigationController pushViewController:new animated:YES];
//并在push后設(shè)置
self.hidesBottomBarWhenPushed=NO;
//back回來县好,tabBar會恢復(fù)正常顯示呜师。