Implement double tap and hold #2200
Unanswered
HadiModarres
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need a custom gesture where it's like a long press but it starts with a double tap. I tried many different things, including writing it using Gesture.Manual but it doesn't work as I need setTimeout in the callback methods but it's not available in worklets. Any ideas?
Edit: I noticed UILongPressGestureRecognizer on iOS has this feature:
https://developer.apple.com/documentation/uikit/uilongpressgesturerecognizer/1616424-numberoftapsrequired
Beta Was this translation helpful? Give feedback.
All reactions