A app that shows your iPhone GPS data.
- Heading azimuth, Location coordinates (Lat&Lon), Speed, Acceleration, Accuracy
- Compass&Speedometer animation
- Speed/Acceleration graph with changable duration
- Tap on the speed or the acceleration to change unit (Speed: km/h, m/s, mph; Acceleration: km/h*s, m/s^2, mph/s)
Speedometer | Chart |
---|---|
Acceleration can be acquired by either calculation of speed changes or device motion data (CoreMotion)
The graph is rendered by SwiftUI Charts. The speed, acceleration data will be saved in a temporary array whose length is determined by a slider in order to send to the chart.
The CoreLocation codes refers to Andrew11US/AF-Swift-Tutorials and the CoreMotion codes refers to Asperi's answer on stack overflow.