阅读背景:

iOS开发笔记之在某个ViewController中禁用右滑pop手势

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



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: