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

全屏关闭自动旋转禁止重力感应 #4098

Open
xuexinxinyz opened this issue Feb 26, 2025 · 2 comments
Open

全屏关闭自动旋转禁止重力感应 #4098

xuexinxinyz opened this issue Feb 26, 2025 · 2 comments

Comments

@xuexinxinyz
Copy link

我现在的情况是,全屏情况下,不管开没开自动旋转,都有重力感应。
如何在关掉自动旋转情况下,禁止重力感应,只默认一边全屏。

并且竖屏情况下一直保持小屏

这是目前代码

Image

@CarGuo
Copy link
Owner

CarGuo commented Feb 27, 2025

demo 哪里复现

@xuexinxinyz
Copy link
Author

和demo里的DETAIL模式类似,只不过不同的是开启自动旋转后,全屏情况下需要加重力感应

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

No branches or pull requests

2 participants