Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swipe back - interactivePopGestureRecognizer not working

enter image description here

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

like image 768
Nguyen Hoan Avatar asked Jan 22 '16 10:01

Nguyen Hoan


1 Answers

Try setting the interactive pop gesture recognizer delegate to nil:

self.navigationController.interactivePopGestureRecognizer.delegate = nil;
like image 157
davidethell Avatar answered Oct 22 '22 20:10

davidethell