【发布时间】:2016-10-20 21:09:10
【问题描述】:
我的问题是滑动手势在front's UINavigationController 堆栈中的每个UIViewController 上都可用,而我希望它只在第一个堆栈上可用,我应该如何解决它?
【问题讨论】:
标签: ios swift swrevealviewcontroller uiswipegesturerecognizer
我的问题是滑动手势在front's UINavigationController 堆栈中的每个UIViewController 上都可用,而我希望它只在第一个堆栈上可用,我应该如何解决它?
【问题讨论】:
标签: ios swift swrevealviewcontroller uiswipegesturerecognizer
看看SWRevealViewControllerDelegate,或许这个方法会有帮助:
// Implement this to return NO when you want the pan gesture recognizer to be ignored
optional public func revealControllerPanGestureShouldBegin(_ revealController: SWRevealViewController!) -> Bool
【讨论】: