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


enum FeedbackStyle : Int


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software