haptics
Gets the haptics profile for the stylus, if supported.
Declaration
var haptics: GCDeviceHaptics? { get }Discussion
The haptics profile is represented as a GCDeviceHaptics instance, from which you can create CHHapticEngine instances targeting the haptic actuator(s) in the accessory.
Not all stylus accessories support haptic feedback. If the accessory does not support haptic feedback, this property is nil.