Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orientation of back camera preview in landscape mode upside-down on iOS initially (in test app) #21

Open
janusw opened this issue Mar 24, 2024 · 1 comment
Labels

Comments

@janusw
Copy link
Owner

janusw commented Mar 24, 2024

Another preview-orientation issue on iOS. In contrast to #19, I only see this in the test app (Camera.MAUI.Test), but not in my custom app using the CameraView.

To reproduce:

  1. Open the Camera.MAUI.Test app on an iOS device (in version 1.4.7).
  2. Rotate the device into landscape mode.
  3. Tap "Go to MVVM Cam".
  4. The preview is upside down.

Note:

  • The preview in portrait mode is always ok.
  • When opening the preview page in portrait, and then rotating to landscape, the preview is also ok.
  • I only see this problem in the test app, so it may be a specific problem of how the CameraView is used there.
@janusw janusw added the OS:iOS label Mar 24, 2024
@janusw
Copy link
Owner Author

janusw commented Mar 24, 2024

I believe the problem is related to the AutoStartPreview property:

  • In the "MVVM Cam" of the test app (where the preview is autostarted), the problem occurs.
  • In the "Fullscreen Cam" of the test app (which needs to be started manually), the problem does not occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant