---
title: altitudeSource
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/argeoanchor/altitudesource-swift.property
---

# altitudeSource

A record of the source from which an altitude came.

## Declaration

```swift
var altitudeSource: ARGeoAnchor.AltitudeSource { get }
```

## Discussion

Discussion The value of this property is ARGeoAnchor.AltitudeSource.userDefined if you set the altitude yourself (see getGeoLocation(forPoint:completionHandler:)). If your app doesn’t set the altitude, ARKit populates this property to indicate the altitude’s expected accuracy (either ARGeoAnchor.AltitudeSource.precise, or ARGeoAnchor.AltitudeSource.coarse), depending on the level of confidence ARKit has with the altitude data that’s available at the time.

## See Also

### Defining Altitude

- [altitude](arkit/argeoanchor/altitude-89k4x.md)
- [ARGeoAnchor.AltitudeSource](arkit/argeoanchor/altitudesource-swift.enum.md)
