iOS 7 has introduced pan gesture to popViewController. It introductes problems with the sidebar that I am using so I want to prevent this new function of ios7. How can I cancel that behaviour?
Thanks in advance
You can use yourNavigationController.interactivePopGestureRecognizer.enabled = NO;
来源:https://stackoverflow.com/questions/18975060/prevent-ios7-pan-gesture-to-pop-view-controller