SensoryFeedbackSelectionFeedback
Feedback that can be played in response to a specific UI element's values changing.
StructureiOS 26.0+macOS 26.0+tvOS 26.0+watchOS 26.0+visionOS 26.0+SensoryFeedback.SelectionFeedback in SwiftUI
Declaration
type SensoryFeedbackSelectionFeedback = 'maximum' | 'minimum' | 'off' | 'on';struct SelectionFeedbackPass a literal, or build one with SwiftUI.SensoryFeedbackSelectionFeedback from import { SwiftUI } from 'swiftui-react-native'.
Type properties
'maximum'SwiftUI.SensoryFeedbackSelectionFeedback.maximumIndicates that a control's maximum value has been reached, such as when a slider's thumb is dragged to the slider's maximum value.
'minimum'SwiftUI.SensoryFeedbackSelectionFeedback.minimumIndicates that a control's minimum value has been reached, such as when a slider's thumb is dragged to the slider's minimum value.
Indicates that a control's value has changed to off, such as when a toggle is released and turned off.
Indicates that a control's value has changed to on, such as when a toggle is tapped to turn on.
See also
More in Lists and tables.
- ListItemTintA tint effect configuration that you can apply to content in a list.
- ListSectionSpacingThe spacing options between two adjacent sections in a list.
- PaletteSelectionEffectThe selection effect to apply to a palette item.
- SectionCollectionAn opaque collection representing the sections of view.
- TableColumnContentA type used to represent columns within a table.