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:
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: