CMAltimeter is a class added in iOS 8 that delivers altitude-related data from devices that support the feature (starting with the iPhone 6).
Use a CMAltimeter
object to initiate the delivery of altitude-related data to your app. Altitude events reflect the change in the current altitude, not the absolute altitude. So a hiking app might use this object to track the user’s elevation gain over the course of a hike. Added in iOS 8.