<!--
{
  "availability" : [
    "iOS: 7.0.0 - 8.0.0",
    "iPadOS: 7.0.0 - 8.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMotion",
  "identifier" : "/documentation/CoreMotion/CMStepCounter/isStepCountingAvailable()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Motion"
    ],
    "preciseIdentifier" : "c:objc(cs)CMStepCounter(cm)isStepCountingAvailable"
  },
  "title" : "isStepCountingAvailable()"
}
-->

# isStepCountingAvailable()

Returns a Boolean indicating whether step-counting support is available on the current device.

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

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if step-counting support is available or <doc://com.apple.documentation/documentation/Swift/false> if it is not.

## Discussion

Step-counting support is not available on all iOS devices. Use this method to determine if support is available on the current 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)