makePlayer(with:)
Creates a standard haptic pattern player from a haptic pattern.
Declaration
func makePlayer(with pattern: CHHapticPattern) throws -> any CHHapticPatternPlayerParameters
- pattern:
The haptic pattern you’d like the player to play.
Mentioned in
Return Value
A new pattern player instance.