Skip to content

The problem of camera rotation #892

@AkaneAzumi

Description

@AkaneAzumi

Hello, recently when I was developing an application, I encountered a very strange problem. When I ran the demo program of version 2.23.5, the camera screen could switch accordingly when the device was rotated between portrait and landscape modes. However, when I moved the demo program into my own app, after switching between portrait and landscape modes, the camera screen worked normally in the landscape mode, but the displayed image in the portrait mode was abnormal (rotated by 90 degrees). 。 I have completely copied the demo code. The system is Color 15.0. Because I don't think it's a problem with the code. So, could you please offer me some suggestions? Thank you very much!(Additionally, I did not encounter this issue on Xiaomi devices.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions