I’ve mentioned a number of examples utilizing the location capabilities of iOS devices, most recently a library that displays local images to users and an example app called Doppio for finding the nearest Starbucks added to the open source apps list.
Here’s a library submitted by Artur Mkrtchyan that allows you to easily determine how fast a user is moving and allows you to easily know if a user is not moving, walking, running or in a moving vehicle called SOMotionDetector.
SOMotionDetector’s algorithm to determine movement utilizes the accelerometer, and location updates so it will work on older devices as long as they are running iOS 6.0 or higher.
There are methods built in to notify you of changes in movement, speed, and you can tweak the settings for each type of movement.
Here’s an image from the readme showing the included example project in action:
You can find SOMotionDetector on Github here.
A nice library for easily determining the motion of a user.
Thanks to Artur for the submission.