<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITouch/force",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITouch(py)force"
  },
  "title" : "force"
}
-->

# force

The force of the touch, where a value of `1.0` represents the force of an average touch (predetermined by the system, not user-specific).

```
var force: CGFloat { get }
```

## Discussion

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`](/documentation/UIKit/UITraitCollection/forceTouchCapability) property on the trait collection for any object in your app with a trait environment.

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 [`altitudeAngle`](/documentation/UIKit/UITouch/altitudeAngle) value.

The force reported by Apple Pencil is estimated at first, and may not always be updated. To determine if an update is expected, consult [`estimatedPropertiesExpectingUpdates`](/documentation/UIKit/UITouch/estimatedPropertiesExpectingUpdates) and look for a [`force`](/documentation/UIKit/UITouch/Properties/force) flag. In this scenario, [`estimationUpdateIndex`](/documentation/UIKit/UITouch/estimationUpdateIndex) contains a non-nil value, which you can correlate with the original touch when the update occurs. When there are no expected force updates, the entire touch sequence usually won’t have updates, so it may be appropriate to apply a custom, tool-specific force curve to the touch sequence.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)