SensoryFeedbackPressFeedback

Feedback that can be played in response to a press (touch down) on a control.

StructureiOS 26.0+macOS 26.0+tvOS 26.0+watchOS 26.0+visionOS 26.0+SensoryFeedback.PressFeedback in SwiftUI

Declaration

React
type SensoryFeedbackPressFeedback = 'button' | 'buttonIconOnly' | 'slider' | 'tab' | 'toggle';
Swift
struct PressFeedback

Pass a literal, or build one with SwiftUI.SensoryFeedbackPressFeedback from import { SwiftUI } from 'swiftui-react-native'.

Type properties

See also

More in Input and interaction.