Data for a recorded change in altitude.


class CMAltitudeData : CMLogItem


You do not create instances of this class directly. When you want to receive altimeter changes, create an instance of the CMAltimeter class and use that object to query for events or to start the delivery of events. The altimeter object creates new instances of this class at appropriate times and delivers them to the handler you specify.


Getting the Altitude Data

var relativeAltitude: NSNumber

The change in altitude (in meters) since the first reported event.

var pressure: NSNumber

The recorded pressure, in kilopascals.


Inherits From

Conforms To

See Also


class CMAltimeter

An object that initiates the delivery of altitude-related changes.

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