×

Haptic Feedback (iOS-only)

iOS 15 +

Notes

Generate haptic feedback (vibrate). Not supported on iPad. Requires iPhone 8 or later. The action has to momentarily open the main app as haptic feedback can only be generated from the app.

Syntax

hapticFeedback(type: <#Enumeration (HapticFeedbackType)#>)

Example

hapticFeedback(type: success)