Possible Duplicate:
Get pitch, roll and yaw relative to geographic north on iOS?
Is there a way to detect that iPhone is vertical?
Gyroscope gives us absolute angle relative to a position.
But how can I know if this relative position corresponds to a vertical position?