SwiftUI · IOS API REFERENCE
HandGestureShortcut
struct · iOS 18.0+ · SDK 27.1
struct HandGestureShortcut
Hand gesture shortcuts describe finger and wrist movements that the user can
perform in order to activate a button or toggle.
Members (1)
get · iOS 18.0+primaryAction
TypeScriptstatic get primaryAction(): HandGestureShortcut
Swift declarationstatic let primaryAction: HandGestureShortcut
The hand gesture shortcut for the primary action.
On watchOS, this is performed by double-tapping the thumb and index
finger together.
Skipped declarations
No declarations were skipped in this snapshot.
All SwiftUI types →