Instance Method

stopActivityUpdates

Stops the delivery of motion updates to your app

Declaration

- (void)stopActivityUpdates;

Discussion

Call this method to stop the delivery of updates that you started by calling the startActivityUpdatesToQueue:withHandler: method. This method does not stop queries started using the queryActivityStartingFromDate:toDate:toQueue:withHandler: method.

See Also

Starting and Stopping Activity Updates

- startActivityUpdatesToQueue:withHandler:

Starts the delivery of current motion data updates to your app.

CMMotionActivityHandler

A block that reports the current motion associated with the device.