// 在需要禁用右滑pop手势的ViewController中加入以下代码
id target = self.navigationController.interactivePopGestureRecognizer.delegate;
UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:target action:nil];
[self.view addGestureRecognizer:pan];// 在需要禁用右滑pop手势的ViewController中加入以下代码
id ta