The instantaneous speed of the device, measured in meters per second.
- iOS 2.2+
- macOS 10.7+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Location
This value reflects the instantaneous speed of the device as it moves in the direction of its current heading. A negative value indicates an invalid speed. Because the actual speed can change many times between the delivery of location events, use this property for informational purposes only.
In iOS, this property is declared as
nonatomic. In macOS, it is declared as