Add motion detection and reporting to your iOS apps with Core Motion. Learn to push and pull motion data from the accelerometer, gyroscope, and other hardware.
- [Instructor] People are not statues. We move around, we dance, run, play sports and play games. iOS can track these movements with the Core Motion framework so you as a developer can make a device react to movement for fitness apps, gaming apps, or as a user interface gesture. Hi there, I'm Steve Lipton, and welcome to Advanced iOS App Development: Core Motion. In this course, we'll be looking at the Core Motion framework. I'll be showing you both high-level APIs, like the pedometer you can use right out of the box, and low-level raw sensors, like the magnetometer.
We'll discuss pushing and pulling data from Core Motion. We'll also learn about noise and modeling motion for the most accurate motion detection. We'll be putting together two apps, a pedometer measuring pace and distance, and a fencing game, to show you the power of Core Motion's accelerometer and gyroscope. We'll be covering all these features plus plenty of tools, tips and techniques. So let's get started.
- Reading Core Motion data
- Understanding Core Motion methods
- Creating a pedometer app
- Using pace and distance data from Core Motion
- Pushing and pulling device motion data
- Accessing the altitude sensors
- Working with the motion activity manager (CMMotionActivityManager)