//解决自定义navgation返回按钮,右滑返回失效
-(void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
self.navigationController.interactivePopGestureRecognizer.delegate = nil;
}
}
网友评论