---
title: "startAbsoluteAltitudeUpdates(to:withHandler:)"
framework: coremotion
role: symbol
role_heading: Instance Method
path: "coremotion/cmaltimeter/startabsolutealtitudeupdates(to:withhandler:)"
---

# startAbsoluteAltitudeUpdates(to:withHandler:)

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

## Declaration

```swift
func startAbsoluteAltitudeUpdates(to queue: OperationQueue, withHandler handler: @escaping CMAbsoluteAltitudeHandler)
```

## Parameters

- `queue`: The operation queue on which to execute your handler block. The altimeter object stores a strong reference to this object. This parameter must not be nil.
- `handler`: The handler block to execute when new altitude data is available. This parameter must not be nil. For information about the format of this block, see doc://com.apple.coremotion/documentation/CoreMotion/CMAbsoluteAltitudeHandler.

## Discussion

Discussion Call isAbsoluteAltitudeAvailable() to verify that the current device supports absolute altitude updates before calling the startAbsoluteAltitudeUpdates(to:withHandler:) method. note: Absolute altitude is only available on iPhone 12 and later and Apple Watch 6 or SE and later.

## See Also

### Starting and Stopping Altitude Updates

- [stopAbsoluteAltitudeUpdates()](coremotion/cmaltimeter/stopabsolutealtitudeupdates().md)
- [CMAbsoluteAltitudeHandler](coremotion/cmabsolutealtitudehandler.md)
- [startRelativeAltitudeUpdates(to:withHandler:)](coremotion/cmaltimeter/startrelativealtitudeupdates(to:withhandler:).md)
- [stopRelativeAltitudeUpdates()](coremotion/cmaltimeter/stoprelativealtitudeupdates().md)
- [CMAltitudeHandler](coremotion/cmaltitudehandler.md)
