Search code examples
swiftcameraavfoundationios13

iOS 13 Beta - Camera Capture Saving Photos in Wrong Orientation


With iOS 13 Beta, when a photo is captured, photos are saved in the wrong orientation. They seem to be rotated 90 degrees counter-clockwise.

We use all the native API methods and everything worked properly before iOS 13. Before each capture capture, we run:

self.photoOutput.connection(with: AVMediaType.video)!.videoOrientation = self.stillImageOrientation

This happens if I run an iOS 12 targeted build or iOS 13 Beta targeted build.

UPDATE

This seems to be a HEIF format saving issue.


Solution

  • This seems to be fixed on Beta 5.