Instance Method


Stops the delivery of altitude data for this altimeter object


func stopRelativeAltitudeUpdates()


Calling this method ends the delivery of altitude events and releases the references to the operation queue and block you specified in the startRelativeAltitudeUpdates(to:withHandler:) method. If event delivery has not yet been started, or has already been stopped, this method does nothing.

See Also

Starting and Stopping Altitude Updates

func startRelativeAltitudeUpdates(to: OperationQueue, withHandler: CMAltitudeHandler)

Starts the delivery of altitude data to the specified handler block.

typealias CMAltitudeHandler

A block for receiving altitude data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software