1

The photos, taken in portrait upside-down mode with iOS device, and after that copied to Xcode project.

let testImage = UIImage(named: "4.JPG")
print(testImage!.imageOrientation.rawValue)

UIImageOrientation value always results 0 (.up orientation), though it should be .left.

And I've rechecked the images with EXIF viewers - it should be .left. Any ideas why could this happen?

Related question

Community
  • 1
  • 1
Naloiko Eugene
  • 2,453
  • 1
  • 28
  • 18

0 Answers0