- (void)viewDidAppear:(BOOL)animated{
[super viewDidAppear:YES];
self.hidesBottomBarWhenPushed = YES;
}
- (void)viewDidDisappear:(BOOL)animated{
[super viewDidDisappear:YES];
self.hidesBottomBarWhenPushed = NO;
}
- (void)viewDidAppear:(BOOL)animated{
[super viewDidAppear:YES];
self.hidesBottomBarWhenPushed = YES;
}
- (void)viewDidDisappear:(BOOL)animated{
[super viewDidDisappear:YES];
self.hidesBottomBarWhenPushed = NO;
}
本文标题:tabbarcontrollerPush到下一个页面时隐藏tab
本文链接:https://www.haomeiwen.com/subject/stghqttx.html
网友评论