NativeObjectUtils
handles most iOS native objects fine, but I can’t find an option for enumerations, for example UIImpactFeedbackStyle
when dealing with haptics. I’ve tried using getClass and getStaticProperty, but both of them return nothing when used on an enum.
The obvious workaround is to write a quick Objective-C class to use haptics, but is there a way to do this with QML?