Creates an instance of the haptic engine.
- iOS 13.0+
- Mac Catalyst 13.0+
- Core Haptics
An error that contains information about failed engine creation, or
nilif no error occurred.
The haptic engine is not a singleton but a connection to the haptic server inside the user's device. More than one connection with the haptic server may exist in your app's view controller or delegate. Each connection functions independently of the others.