在IOS7项目中遇到navigation可以右滑 但项目中要禁止右滑 实现如下: self.navigationController.interactivePopGestureRecognizer.enabled = NO ;