Contents

init(dictionary:)

Creates a haptic pattern from a property list dictionary.

Declaration

init(dictionary patternDict: [CHHapticPattern.Key : Any]) throws

Parameters

  • patternDict:

    A dictionary that defines the haptic pattern and its parameters.

See Also

Creating a Haptic Pattern