I have screens like this photo. HomeViewController will push to maintabbar, and a tabbar item will push to detailScreen. Why swipe back not working. I think it is default in IOS. Please help me
p/s: If i use SwipeBack in cocoapods, it working. But i don't want use it
Try setting the interactive pop gesture recognizer delegate to nil:
self.navigationController.interactivePopGestureRecognizer.delegate = nil;
clichedmoog
I have similar problem & got fixed using method from this answer
Simply, did you call
[super viewWillAppear:animated];
when overriding
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
// your other codes goes on
}
来源:https://stackoverflow.com/questions/34943916/swipe-back-interactivepopgesturerecognizer-not-working