Created
June 14, 2015 09:52
-
-
Save cupnoodle/0d5f2a4e9f1ebb46b756 to your computer and use it in GitHub Desktop.
iOS navigation controller swipe to go back
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//put in root view of navigation controller | |
self.navigationController.interactivePopGestureRecognizer.delegate = (id<UIGestureRecognizerDelegate>)self; | |
[self.navigationController.interactivePopGestureRecognizer setEnabled:YES]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment