Enumeration

UIImpactFeedbackGenerator.FeedbackStyle

The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.

Declaration

enum FeedbackStyle : Int

Topics

Enumeration Cases

case heavy

A collision between large, heavy user interface elements.

case light

A collision between small, light user interface elements.

case medium

A collision between moderately sized user interface elements.

See Also

Initializing the Feedback Generator

init(style: UIImpactFeedbackGenerator.FeedbackStyle)

Returns a newly initialized feedback generator.