都在同一个控制器中设置
1、跳转之前设置隐藏
JobViewController *jobVC = [[JobViewController alloc] init];
jobVC.hidesBottomBarWhenPushed=YES;
[self.navigationController pushViewController:jobVC animated:YES];
2、跳转回来回复bottombar
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
self.tabBarController.tabBar.hidden = NO;
self.hidesBottomBarWhenPushed = NO;
}