启动图相关设置步骤

适配的关键步骤如下:

  • 去除勾选UseSafeAreaLayout(否则在刘海平手机的非安全区域会有空白,看起来不够好看)
    用launchscreen.storyboard适配启动图-思路1

  • 在launchscreen.storyboard的view里拖动一个UIImageView,并用autolayout设置上下左右间距为0
    用launchscreen.storyboard适配启动图-思路1

  • 选中UIImageView,设置面板上的Content Mode为Aspect Fill
    用launchscreen.storyboard适配启动图-思路1

  •  

多语言适配

  • 通过面板勾选Localization
    用launchscreen.storyboard适配启动图-思路1

  • 展开launchscreen.storyboard,针对不同语言的launchscreen.storyboard设置不同的图片即可。
    用launchscreen.storyboard适配启动图-思路1

相关文章:

  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2021-05-15
  • 2022-12-23
猜你喜欢
  • 2021-08-12
  • 2022-12-23
  • 2021-05-04
  • 2022-01-12
  • 2022-12-23
  • 2021-10-06
相关资源
相似解决方案