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.
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.
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.
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...
I would be interested too. the onTapGesture(count: 2) does not work