Link Search Menu Expand Document

ForceTouchCapability

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

public enum ForceTouchCapability: Int 

Inheritance

Int

Enumeration Cases

unspecified

The availability of 3D Touch is unknown.

case unspecified

A view has this trait after you create it but before you add it your application’s view hierarchy.

available

3D Touch is available on the device.

case available

unavailable

3D Touch is not available on the device.

case unavailable