Contents

maximumPossibleForce

The maximum possible force for a touch.

Declaration

var maximumPossibleForce: CGFloat { get }

Discussion

The value of this property is sufficiently high to provide a wide dynamic range for values of the force property.

This property is available on devices that support 3D Touch or Apple Pencil. To check at runtime if a device supports 3D Touch, read the value of the forceTouchCapability property on the trait collection for any object in your app with a trait environment.

See Also

Getting touch attributes