1

I am using Xcode 8.3.2 and swift 3.1 in one of my application when I am converting the camera image into base64 and posting to server.In server the base 64 string is converted to image which gets rotated by 90 degree left I try so many method to fix this issue but did not working any one

KnightOwl
  • 79
  • 1
  • 3

1 Answers1

1

The orientation is stored separate from the image data in

UIImage.imageOrientation 
adamfowlerphoto
  • 2,708
  • 1
  • 11
  • 24