UIForceTouchCapability Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |