/pickupphonedemo

Basic demo on accessing accelerometer data written in Swift

Primary LanguageSwift

CoreMotion Demo App

This sample application demonstrates updating a UILabel based on whether or not the iOS device is resting on the table or is being held to the horizon. I decided to write this in Swift and got some help from:

Swift Cookbook NSHipster CMDeviceMotion