导航控制器跳转时隐藏底部tabbar

时间:2021-06-29 20:44:27
- (void)setting
{
    // 跳转到设置界面
    XMGSettingViewController *settingVc = [[XMGSettingViewController alloc] init];
    // 必须要在跳转之前设置,隐藏底部条
    settingVc.hidesBottomBarWhenPushed = YES;
    
    [self.navigationController pushViewController:settingVc animated:YES];
    
    
}