ios開(kāi)發(fā)中 tabbar一級(jí)頁(yè)面手勢(shì)滑動(dòng)返回時(shí)這樣寫:
<UIGestureRecognizerDelegate>
-(void)viewDidAppear:(BOOL)animated{
[super viewDidAppear:animated];
self.navigationController.interactivePopGestureRecognizer.enabled = NO;//主頁(yè)面要寫這一句關(guān)閉手勢(shì)
}
MsgNotifyViewController * msvc = [[MsgNotifyViewController alloc]init];
msvc.hidesBottomBarWhenPushed = YES;//
[self.navigationController pushViewController:msvc animated:YES];
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者