簡體   English   中英

SWRevealController滑動手勢

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM