I'm giving the user of an iPhone app the ability to use the tilt controls when standing, sitting, lying down etc. The user adjusts for each position by going to a settings screen, holding the phone at the desired angle, and tapping a save button. What's the best way to do this in the code?
The only thing I'm familiar with is the accelerometer delegate where I can get x, y, and z values.