//在二级控制器中
-(instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
//隐藏tabbar
self.hidesBottomBarWhenPushed = YES;
}
return self;
}
二级以上(包括)界面隐藏TabBar
最新推荐文章于 2021-05-31 22:22:20 发布