speed
The instantaneous speed of the device, measured in meters per second.
Declaration
var speed: CLLocationSpeed { get }Mentioned in
Discussion
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.
Special Considerations
In iOS, this property is declared as nonatomic. In macOS, it is declared as atomic.