UIImpactFeedbackStyle Enum

Definition

Enumerates the mass of the objects used by the UIImpactFeedbackGenerator class.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIImpactFeedbackStyle
type UIImpactFeedbackStyle = 
Inheritance
UIImpactFeedbackStyle
Attributes

Fields

Heavy 2

A strong impact.

Light 0

A light impact.

Medium 1

A moderate impact.

Applies to