sensoryFeedback(_:trigger:) | Apple Developer Documentation

Plays the specified feedback when the provided trigger value changes.