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

在横屏上显示弹窗为竖屏LeeSupportedInterfaceOrientations,iphone14有效果,14以下没效果 #183

Open
bruceFighting opened this issue Mar 7, 2023 · 7 comments

Comments

@bruceFighting
Copy link

No description provided.

@lixiang1994
Copy link
Owner

iPhone14? iOS14?

@bruceFighting
Copy link
Author

iphone14 plus和iphone7
场景是横屏游戏->打开分享所需效果
14可以通过以下设置可以转成竖屏,但是7转不过来

.leeShouldAutorotate(false)
.leeSupportedInterfaceOrientations(.portrait)

image

image

@lixiang1994
Copy link
Owner

需要具体系统版本, 不用设备型号

@bruceFighting
Copy link
Author

有效果的都是16及以上版本,16以下的版本都没效果

@lixiang1994
Copy link
Owner

image

@lixiang1994
Copy link
Owner

跑了一下iOS13.7的模拟器 demo正常, 或者你可以在demo中复现出来吗?

@bruceFighting
Copy link
Author

模拟器可以运行你的demo,但是我用模拟器运行游戏的话是打不开的,在真机上运行就会这样,我不确定是不是有多个window导致的

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