Upravit

Sdílet prostřednictvím


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

Name Value Description
Light 0

A light impact.

Medium 1

A moderate impact.

Heavy 2

A strong impact.

Applies to