0

My problem is that swipe gesture is available on each UIViewController of front's UINavigationController stack, while I would like it to be available only on first one, how should I fix it?

JuicyFruit
  • 2,638
  • 2
  • 18
  • 35

1 Answers1

0

Take a look at the SWRevealViewControllerDelegate, probably this method can be helpful:

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