iOS UIU在纵向上下颠倒拍摄的图像具有错误的imageOrientation值

iOS UIU在纵向上下颠倒拍摄的图像具有错误的imageOrientation值,ios,uiimage,orientation,uiimageorientation,Ios,Uiimage,Orientation,Uiimageorientation,这些照片是用iOS设备以纵向倒置模式拍摄的,然后复制到Xcode项目 let testImage = UIImage(named: "4.JPG") print(testImage!.imageOrientation.rawValue) UIImageOrientation值始终为0(.up orientation),尽管它应该是.left 我用EXIF查看器重新检查了图像-应该是。左。你知道为什么会这样吗

这些照片是用iOS设备以纵向倒置模式拍摄的,然后复制到Xcode项目

let testImage = UIImage(named: "4.JPG")
print(testImage!.imageOrientation.rawValue)
UIImageOrientation值始终为0(.up orientation),尽管它应该是.left

我用EXIF查看器重新检查了图像-应该是。左。你知道为什么会这样吗