写真を撮るときに電話の向きを検出するために私は使用します
orientation == UIDeviceOrientationLandscapeRight
orientation == UIDeviceOrientationPortraitUpsideDown
orientation == UIDeviceOrientationPortrait
orientation == UIDeviceOrientationLandscapeLeft
しかし、これらは写真を横から撮っている場合に機能します。航空写真を撮るときなど、iPhoneが下に傾いて平らになっているかどうかを確認するにはどうすればよいですか?