I got the opposite issue from here.
By default in iOS7
, back swipe gesture of UINavigationController
\'s stack could pop the presented ViewCon
Setting a custom back button disable the swipe back feature.
The best thing to do to keep it is to subclass UINavigationViewController
and set itself as the interactivePopGestureRecognizer
delegate; then you can return YES from gestureRecognizerShouldBegin
to allow the swipe back.
For example, this is done in AHKNavigationController
And a Swift version here: https://stackoverflow.com/a/43433530/308315