One Logo Pool Ball
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

TypeScript
static get primaryAction(): HandGestureShortcut
Swift declaration
static 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 →