Over the coming weeks we are going to delve in to Core Motion and look at what is available and what can be done with the data that your device provides.
Core Motion was introduced in iOS 4 and provided a way for your app to get data from the sensors on your phone. When Apple introduced the iPhone 5s, they changed the game a little by adding a motion coprocessor. This smaller processor has a single job of handling sensor data recorded by the various sensors on the device even while the device is asleep. It quietly stores this information until the phone wakes up and an app requests the data. The processor requires a lot less power to run, and thus it keeps going 24 hours a day silently keeping this data.
The sensors that Core Motion handles include the accelerometer, gyroscope, pedometer, as well as the magnetometer, and barometer. [Read more…]