Contents

init(contentsOf:)

Creates a haptic pattern with the contents of an AHAP file.

Declaration

init(contentsOf ahapURL: URL) throws

Parameters

  • ahapURL:

    A URL to an AHAP file that describes a pattern.

See Also

Creating a Haptic Pattern