Enumeration

UIForceTouchCapability

Keys that indicate the availability of 3D Touch on a device.

Declaration

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

Overview

Only certain devices support 3D Touch. On those that do, the user can disable 3D Touch in the Accessibility area in Settings.

Topics

Availability Options

UIForceTouchCapabilityUnknown

The availability of 3D Touch is unknown.

UIForceTouchCapabilityAvailable

3D Touch is available on the device.

UIForceTouchCapabilityUnavailable

3D Touch is not available on the device.

See Also

Retrieving the Force Touch Capability Traits

forceTouchCapability

The force touch capability value of the trait collection.