要在拍攝照片時,檢測出手機內的方位我用檢測iPhone設備是平板
orientation == UIDeviceOrientationLandscapeRight
orientation == UIDeviceOrientationPortraitUpsideDown
orientation == UIDeviceOrientationPortrait
orientation == UIDeviceOrientationLandscapeLeft
但是,這些工作如果圖片被從側面拍攝。如何檢查iPhone是否向下傾斜以使其平坦當拍攝航拍照片時?
這就是我一直在尋找+1 – erastusnjuki 2010-02-18 13:33:16