One Logo Pool Ball
SwiftUI · IOS API REFERENCE

SensoryFeedback.SelectionFeedback

struct · iOS 26.0+ · SDK 27.1

struct SelectionFeedback

Feedback that can be played in response to a specific UI element's values changing.

Members (4)

get · iOS 26.0+

on

TypeScript
static get on(): SensoryFeedback_SelectionFeedback
Swift declaration
static let on: SensoryFeedback.SelectionFeedback

Indicates that a control's value has changed to on, such as when a toggle is tapped to turn on. Only plays feedback on visionOS.

get · iOS 26.0+

off

TypeScript
static get off(): SensoryFeedback_SelectionFeedback
Swift declaration
static let off: SensoryFeedback.SelectionFeedback

Indicates that a control's value has changed to off, such as when a toggle is released and turned off. Only plays feedback on visionOS.

get · iOS 26.0+

maximum

TypeScript
static get maximum(): SensoryFeedback_SelectionFeedback
Swift declaration
static let maximum: SensoryFeedback.SelectionFeedback

Indicates that a control's maximum value has been reached, such as when a slider's thumb is dragged to the slider's maximum value. Only plays feedback on visionOS.

get · iOS 26.0+

minimum

TypeScript
static get minimum(): SensoryFeedback_SelectionFeedback
Swift declaration
static let minimum: SensoryFeedback.SelectionFeedback

Indicates that a control's minimum value has been reached, such as when a slider's thumb is dragged to the slider's minimum value. Only plays feedback on visionOS.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →