<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMotion",
  "identifier" : "/documentation/CoreMotion/CMPedometer/isDistanceAvailable()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Motion"
    ],
    "preciseIdentifier" : "c:objc(cs)CMPedometer(cm)isDistanceAvailable"
  },
  "title" : "isDistanceAvailable()"
}
-->

# isDistanceAvailable()

Returns a Boolean value indicating whether distance estimation is available on the current device.

```
class func isDistanceAvailable() -> Bool
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if distance estimation is available or <doc://com.apple.documentation/documentation/Swift/false> if it is not.

## Discussion

Distance estimation indicates the ability to use step information to supply the approximate distance traveled by the user. This capability is not supported on all devices.

---

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)