---
title: stopStepCountingUpdates()
framework: coremotion
role: symbol
role_heading: Instance Method
path: coremotion/cmstepcounter/stopstepcountingupdates()
---

# stopStepCountingUpdates()

Stops the delivery of step-counting updates to your app.

## Declaration

```swift
func stopStepCountingUpdates()
```

## Discussion

Discussion Call this method to stop the delivery of updates that you started by calling the startStepCountingUpdates(to:updateOn:withHandler:) method. This method does not stop queries started using the queryStepCountStarting(from:to:to:withHandler:) method.

## See Also

### Starting and Stopping Step Counting Updates

- [startStepCountingUpdates(to:updateOn:withHandler:)](coremotion/cmstepcounter/startstepcountingupdates(to:updateon:withhandler:).md)
- [CMStepUpdateHandler](coremotion/cmstepupdatehandler.md)
