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

你好,我按照demo中处理的横竖屏切换, 并且也是正常的,但是app进入后台,又返回前台后,获取到的高度值是错的 #1615

Open
xiaoyao20084321 opened this issue Jan 14, 2025 · 0 comments

Comments

@xiaoyao20084321
Copy link

你好,我按照demo中处理的横竖屏切换, 并且也是正常的,但是app进入后台,又返回前台后,获取到的UIScreen.main.bounds.height却是竖屏的高度,是什么原因?

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

No branches or pull requests

1 participant