Enumeration

UIImpactFeedbackStyle

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

Declaration

typedef enum UIImpactFeedbackStyle : NSInteger {
    ...
} UIImpactFeedbackStyle;

Topics

Enumeration Cases

UIImpactFeedbackStyleHeavy

A collision between large, heavy user interface elements.

UIImpactFeedbackStyleLight

A collision between small, light user interface elements.

UIImpactFeedbackStyleMedium

A collision between moderately sized user interface elements.

See Also

Initializing the Feedback Generator

- initWithStyle:

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