The force of the touch, where a value of
1 represents the force of an average touch (predetermined by the system, not user-specific).
- iOS 9.0+
- tvOS 9.0+
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
force property on the trait collection for any object in your app with a trait environment.
Note that the force reported by Apple Pencil is measured along the axis of the pencil. If you want a force perpendicular to the device, you need to calculate this value using the