<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NearbyInteraction",
  "identifier" : "/documentation/NearbyInteraction/NINearbyPeerConfiguration/isExtendedDistanceMeasurementEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Nearby Interaction"
    ],
    "preciseIdentifier" : "c:objc(cs)NINearbyPeerConfiguration(py)extendedDistanceMeasurementEnabled"
  },
  "title" : "isExtendedDistanceMeasurementEnabled"
}
-->

# isExtendedDistanceMeasurementEnabled

A Boolean value that indicates whether both peers can use extended distance measurement for this Nearby Interaction session instance.

```
var isExtendedDistanceMeasurementEnabled: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, the [`NISession`](/documentation/NearbyInteraction/NISession) uses extended distance measurement (EDM) capabilities while ranging with a peer that’s also capable of EDM. This property is compatible with the [`isCameraAssistanceEnabled`](/documentation/NearbyInteraction/NINearbyPeerConfiguration/isCameraAssistanceEnabled) property.

To understand the shared capabilities of the devices, check the [`supportsExtendedDistanceMeasurement`](/documentation/NearbyInteraction/NIDeviceCapability/supportsExtendedDistanceMeasurement) property in the [`deviceCapabilities`](/documentation/NearbyInteraction/NISession/deviceCapabilities) properties on [`NISession`](/documentation/NearbyInteraction/NISession), and the [`deviceCapabilities`](/documentation/NearbyInteraction/NIDiscoveryToken/deviceCapabilities) property on the [`NIDiscoveryToken`](/documentation/NearbyInteraction/NIDiscoveryToken) generated by the peer device.

---

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)