Detect Watch double tap? (new feature)

Does anyone know how to tie the new Watch Series 9 double tap feature to a button and also how to test double tap gesture in the simulator?

Thanks.

Post not yet marked as solved Up vote post of dfoxinator2 Down vote post of dfoxinator2
1.1k views

Replies

Apple updated gesture specifications to include double tap in watchOS: https://developer.apple.com/design/human-interface-guidelines/gestures

My guess is that you'd define a UIGestureRecognizer (maybe a UITapGestureRecognizer?) and attach it to a view that implements UIGestureRecognizerDelegate.

Not sure how that would be handled in Simulator, however.

Add a Comment

Also following this. I haven't seen any documentation on this yet..

Any Updates on the Double Tap Feature? It sounds like it will automatically pick a primary Button, but no Idea how to make a Button primary...

  • This is my problem too. Created a test app with just one button. Still can't select button with double tap gesture when app active.

Add a Comment

I would be interested too. the onTapGesture(count: 2) does not work