how to make doodle jump xcode how to measure the tilt of the phone in xy plane using