Matching Selection Haptic Feedback to Swift

We have been struggling with selection haptic feedback while developing an iOS app. We are trying to replicate the feedback feel of the iOS Timer selection picker. When we do this with Ionic, we get very light feedback while scrolling but then a heavy hit on the final selection. The following free app on the App Store works perfectly when selecting from their picker wheel.

Is this a limitation of the compatibility of Ionic to Swift?

Does anyone have any code snippets for a selection picker with feedback?

The equivalent line in Swift is: let generator = UISelectionFeedbackGenerator()

Note: I am using the timer picker as an example but I’m really trying the pick from a custom list, not a standard date or time format.

Hi there, which API are you using? Are you using Capacitor? Capacitor has support for a variety of the Haptic engine feedback options: