【问题标题】:UINavigationController swipeGesture in UISwipeView not workingUISwipeView 中的 UINavigationController swipeGesture 不起作用
【发布时间】:2014-06-13 04:40:08
【问题描述】:

我有一个UINavigationController 来浏览我的应用程序。一个UIViewController 只包含一个UIScrollView。现在 UINavigationController 的 iOS7 后退手势不起作用,因为滚动视图平移手势。

如何解决这个问题,以便我可以使用UINavigationController 后退手势?

【问题讨论】:

    标签: ios objective-c uiscrollview uinavigationcontroller gesture


    【解决方案1】:

    解决了我的问题 -> 添加viewDidLoad:

    self.navigationController.interactivePopGestureRecognizer.delegate = self;
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-25
      • 2013-12-04
      • 1970-01-01
      相关资源
      最近更新 更多