Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
This seems to be an edge case in addition to the scenarios fixed in #2311.
Opens the camera view at an angle where the device orientation sensor cannot determine if it's in portrait or landscape mode (e.g. when the device is parallel to the ground), the photo taken will be saved as landscape left.
With the same workflow in the iOS native camera app, the photo taken will be saved as portrait.
Although the orientation sensor cannot differentiate between portrait and landscape in this scenario, the portrait orientation makes more sense according to common user habits/expectations.
Note: If you open the camera view while holding the device vertical to the ground in portrait mode, then point the camera to the ground, the image taken will be captured in portrait correctly.
Expected Behavior
Opens the camera view when the device is parallel to the ground, the photo taken should be saved as portrait orientation.
Steps To Reproduce
- Build and run the CommunityToolkit.Maui.Sample app on iOS
- Hold the device parallel to the ground, go to Views -> CameraView Page
- Tap "Capture Image"
- Observe that the image taken is saved as
landscape left
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples
Environment
- .NET MAUI CommunityToolkit: v14.2.0
- .NET MAUI CommunityToolkit.Maui.Camera: v6.1.0
- OS: iOS 26.5
- .NET MAUI: 10.0.60
Anything else?
No response
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
This seems to be an edge case in addition to the scenarios fixed in #2311.
Opens the camera view at an angle where the device orientation sensor cannot determine if it's in portrait or landscape mode (e.g. when the device is parallel to the ground), the photo taken will be saved as
landscape left.With the same workflow in the iOS native camera app, the photo taken will be saved as
portrait.Although the orientation sensor cannot differentiate between portrait and landscape in this scenario, the
portraitorientation makes more sense according to common user habits/expectations.Note: If you open the camera view while holding the device vertical to the ground in portrait mode, then point the camera to the ground, the image taken will be captured in portrait correctly.
Expected Behavior
Opens the camera view when the device is parallel to the ground, the photo taken should be saved as
portraitorientation.Steps To Reproduce
landscape leftLink to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples
Environment
Anything else?
No response