Class

UIImpactFeedbackGenerator

A concrete UIFeedbackGenerator subclass that creates haptics to simulate physical impacts.

Overview

Use impact feedback to indicate that an impact has occurred. For example, you might trigger impact feedback when a user interface object collides with another object or snaps into place.

For more information, see Using Feedback Generators.

Symbols

Initializers

init(style: UIImpactFeedbackStyle)

Returns a newly initialized feedback generator.

Instance Methods

func impactOccurred()

Triggers impact feedback.

Relationships

Inherits From