Instance Method


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


func stopStepCountingUpdates()


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

func startStepCountingUpdates(to: OperationQueue, updateOn: Int, withHandler: CMStepUpdateHandler)

Starts the delivery of current step-counting data to your app.

typealias CMStepUpdateHandler

A block that reports the number of steps recorded since updates began.