MusicMotion: Adding Motion Awareness to a Music App
Version 1.2, 2016-09-28
Updated to Swift 3
(Full Revision History)
Xcode 8.0, iOS 9.0 SDK
CoreMotion provides contextual awareness that you can use to make a smart app even smarter. This sample demonstrates best practices for using the CoreMotion API. You'll also see how to fuse different types of motion and fitness data to enable context-aware app behavior.