从第一个页面跳到第二个页面时隐藏tabBar的设置方法
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
int section = indexPath.section;
if (section == 1) {
WalletViewController *vc = [[WalletViewControlleralloc] init];
vc.hidesBottomBarWhenPushed = YES;//从第一个页面跳到第二个页面时隐藏tabBar的设置方法
[self.navigationControllerpushViewController:vc animated:YES];
}else if(section == 2){
SettingViewController *vc = [[SettingViewControlleralloc] init];
vc.hidesBottomBarWhenPushed = YES;//从第一个页面跳到第二个页面时隐藏tabBar的设置方法
[self.navigationControllerpushViewController:vc animated:YES];
}
}