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

首次安装,执行自动修复逻辑,首页背景色成白色 #21

Open
GKWenBo opened this issue Jun 5, 2023 · 2 comments
Open

Comments

@GKWenBo
Copy link

GKWenBo commented Jun 5, 2023

环境:xcode14.2
真机:12 mini
复现场景:
首次安装app,首页部分ui元素设置clear color,展示是白色的,下次启动展示正常。

注释掉自动修复逻辑,首页ui展示正常。

@GKWenBo
Copy link
Author

GKWenBo commented Jun 5, 2023

作者有遇到过这种情况吗,可能是什么原因导致的呢?

@internetWei
Copy link
Owner

你是指APP首个页面而不是启动页是吗?我目前没有遇到过这种情况,自动修复的逻辑应该是不会影响APP页面的;它的逻辑是在安装/更新后首次打开APP时,获取到用户设置的启动图文件并生成UIView对象,遍历这个视图中的UIImage对象,检查这些UIImage的显示区域是否展示正常,如果展示正常则什么都不做,如果不正常则对UIView进行截图并写入本地路径。所以照道理应该不会影响到APP本来的页面。

麻烦你截图发我看一下。如果能提供详细的复现过程,如Gif图或视频就更好了。

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