search

Home  >  Q&A  >  body text

Objective-c - Scrollerkview gesture issue

Added gestures to the scrollerview, that is, when the xontentoffset of the scrollerview is 0, add a sliding gesture, change the frame of the scrollerview, and use GestureRecognizer: (UIGestureRecognizer ) gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer: (UIGestureRecognizer ) otherGestureRecognizer Gesture judgment is performed, but sometimes custom gestures are still executed when contextoffset is not 0. The picture below is the normal implementation effect

The situation when dozens of gestures conflict

Is there any good solution? Please advise. . . . .

滿天的星座滿天的星座2822 days ago508

reply all(0)I'll reply

No reply
  • Cancelreply