[英]SWRevealController swipe gesture
我的問題是,在front's
UINavigationController
堆棧的每個UIViewController
上都可以使用滑動手勢,而我希望僅在第一個UIViewController
上可用,我應該如何解決?
看一下SWRevealViewControllerDelegate
,此方法可能會有所幫助:
// Implement this to return NO when you want the pan gesture recognizer to be ignored
optional public func revealControllerPanGestureShouldBegin(_ revealController: SWRevealViewController!) -> Bool
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.