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

想问大家你们启动页是如何适配各个机型的? #240

Open
yangsunyue opened this issue Jan 4, 2021 · 2 comments
Open

想问大家你们启动页是如何适配各个机型的? #240

yangsunyue opened this issue Jan 4, 2021 · 2 comments

Comments

@yangsunyue
Copy link

想问大家你们启动页是如何适配各个机型的?

@JC-Sung
Copy link

JC-Sung commented Mar 2, 2021

启动页现在不都Launch Screen.storyboard了吗,还需要适配什么?要是在storyboard上面有张全屏的图片,不同机型加载不同尺寸的图片,你直接在Assets里把图片的Contents.json里修改信息就行了,至于怎么修改,可以百度,就是修改成原来淘汰掉的launchimage的json信息就可以放多个机型多张图片了

@yangsunyue
Copy link
Author

我说的是这个XHLaunchAd广告页的机型适配。是直接让后台根据不同机型传不同的图片尺寸吗。

启动页现在不都Launch Screen.storyboard了吗,还需要适配什么?要是在storyboard上面有张全屏的图片,不同机型加载不同尺寸的图片,你直接在Assets里把图片的Contents.json里修改信息就行了,至于怎么修改,可以百度,就是修改成原来淘汰掉的launchimage的json信息就可以放多个机型多张图片了

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