Contents

performFeedback(_:performanceTime:)

Performs the haptic feedback described by one or more alignment feedback tokens.

Declaration

func performFeedback(_ alignmentFeedbackTokens: [any NSAlignmentFeedbackToken], performanceTime: NSHapticFeedbackManager.PerformanceTime)

Parameters

Discussion

Call this method to initiate haptic feedback to the user. Pass it one or more alignment feedback tokens of type NSAlignmentFeedbackToken and a time to execute of type NSHapticFeedbackPerformanceTime. Call this method immediately before moving the object to its new aligned position.

See Also

Related Documentation