LNPopupController: gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer: doesn't do much

Hopefully I’m not too annoying at this point, but after playing around I’ve noticed that gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool doesn’t do much.

Description

gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool DOES get called but doesn’t influence on whether dismiss gesture recognizer should recognize a pan. I’ve tried returning false and true but it doesn’t affect anything at all.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Works great, thanks!

Fixed. Please use shouldRequireFailureOfGestureRecognizer: or shouldRecognizeSimultaneouslyWith: to exclude the critical views.