如果系统的侧滑返回用不了了,可以尝试以下方法:
1
__weak typeof (self) weakSelf = self;
if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
self.navigationController. interactivePopGestureRecognizer.delegate = weakSelf;
}
self.navigationController.interactivePopGestureRecognizer.enabled=YES;
2