Edytuj

Udostępnij za pośrednictwem


UIForceTouchCapability Enum

Definition

Enumerates the 3D Touch capabilities on a device.

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

Fields

Name Value Description
Unknown 0

It is not known whether 3D Touch capabilities are available. For example, a view that has not been added to a view hierarchy has an unknown 3D Touch capability.

Unavailable 1

3D Touch capabilities are unavailable on the device..

Available 2

3D Touch capabilities are available on the device.

Applies to