---
title: isStepCountingAvailable()
framework: coremotion
role: symbol
role_heading: Type Method
path: coremotion/cmstepcounter/isstepcountingavailable()
---

# isStepCountingAvailable()

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

## Declaration

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

## Return Value

Return Value true if step-counting support is available or false if it is not.

## Discussion

Discussion Step-counting support is not available on all iOS devices. Use this method to determine if support is available on the current device.
