The accuracy of the altitude value, measured in meters.
- iOS 2.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Location
When this property contains
0 or a positive number, the value in the
altitude property is plus or minus the specified number of meters. When this property contains a negative number, the value in the
altitude property is invalid.
Determining the vertical accuracy requires a device with GPS capabilities. Thus, on some devices, this property always contains a negative value.
In iOS, this property is declared as
nonatomic. In macOS, it is declared as