Description
Photos taken with the in-app camera may display with incorrect orientation. The image should automatically respect the device's physical orientation (portrait vs landscape) at capture time.
Current Behavior
Photos appear rotated incorrectly — the orientation does not match how the user was holding the device when the photo was taken.
Expected Behavior
- Captured photos should auto-correct orientation based on device orientation (EXIF orientation metadata)
- Whether the user holds the phone in portrait or landscape, the resulting image should display correctly
Possible Cause
The camera capture pipeline may not be reading or applying CGImagePropertyOrientation / EXIF orientation data when saving the image. UIImage created from AVCapturePhoto needs its orientation set based on the device's current UIDeviceOrientation or the capture connection's videoOrientation.
Description
Photos taken with the in-app camera may display with incorrect orientation. The image should automatically respect the device's physical orientation (portrait vs landscape) at capture time.
Current Behavior
Photos appear rotated incorrectly — the orientation does not match how the user was holding the device when the photo was taken.
Expected Behavior
Possible Cause
The camera capture pipeline may not be reading or applying
CGImagePropertyOrientation/ EXIF orientation data when saving the image. UIImage created fromAVCapturePhotoneeds its orientation set based on the device's currentUIDeviceOrientationor the capture connection'svideoOrientation.