iOS开发中 手势滑动返回时 tabbar跟屏幕滑动出现
ios开发中 tabbar一级页面手势滑动返回时这样写:
<UIGestureRecognizerDelegate>
-(void)viewDidAppear:(BOOL)animated{
[super viewDidAppear:animated];
self.navigationController.interactivePopGestureRecognizer.enabled = NO;//主页面要写这一句关闭手势
}
MsgNotifyViewController * msvc = [[MsgNotifyViewController alloc]init];
msvc.hidesBottomBarWhenPushed = YES;//
[self.navigationController pushViewController:msvc animated:YES];
本文标题:iOS开发中 手势滑动返回时 tabbar跟屏幕滑动出现
本文链接:https://www.haomeiwen.com/subject/lkjdbttx.html
网友评论