LocoKit
Location, motion, and activity recording framework for iOS
...Near real-time stationary / moving state detection. Automatic energy use management, enabling all-day recording. Automatic stopping and restarting of recording, to avoid wasteful battery use. Machine Learning-based activity type detection. Improved detection of Core Motion activity types (stationary, walking, running, cycling, automotive). Distinguish between specific transport types (car, train, bus, motorcycle, airplane, boat). Optionally produce high level Path and Visit timeline items, to represent the recording session at human level. ...