【问题标题】:SWRevealController swipe gestureSWRevealController 滑动手势
【发布时间】:2016-10-20 21:09:10
【问题描述】:

我的问题是滑动手势在front's UINavigationController 堆栈中的每个UIViewController 上都可用,而我希望它只在第一个堆栈上可用,我应该如何解决它?

【问题讨论】:

    标签: ios swift swrevealviewcontroller uiswipegesturerecognizer


    【解决方案1】:

    看看SWRevealViewControllerDelegate,或许这个方法会有帮助:

    // Implement this to return NO when you want the pan gesture recognizer to be ignored
    optional public func revealControllerPanGestureShouldBegin(_ revealController: SWRevealViewController!) -> Bool
    

    【讨论】:

      猜你喜欢
      • 2016-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多