A hack that is working is to set the interactivePopGestureRecognizer
‘s delegate of the UINavigationController
to nil
like this:
[self.navigationController.interactivePopGestureRecognizer setDelegate:nil];
But in some situations it could create strange effects.