init(dictionary:)
Creates a haptic pattern from a property list dictionary.
Declaration
init(dictionary patternDict: [CHHapticPattern.Key : Any]) throwsParameters
- patternDict:
A dictionary that defines the haptic pattern and its parameters.
Creates a haptic pattern from a property list dictionary.
init(dictionary patternDict: [CHHapticPattern.Key : Any]) throwsA dictionary that defines the haptic pattern and its parameters.