美文网首页
Xcode11 使用LaunchScreen.storyboar

Xcode11 使用LaunchScreen.storyboar

作者: 小y想吃糖 | 来源:发表于2019-10-30 10:44 被阅读0次

    苹果后期要求程序里必须有LaunchScreen.storyboard,且需要用LaunchScreen.storyboard来设置启动页,so,记录一下。

1、如图1,将UI给的启动图放在Assets.xcassets中,记住这个名字LaunchImage。

图1

2、如图2,打开LaunchScreen.storyboard,拖进一个UIImageView,全屏布局,在右侧image那里输入LaunchImage。保存,运行,OK。

相关文章

网友评论

      本文标题:Xcode11 使用LaunchScreen.storyboar

      本文链接:https://www.haomeiwen.com/subject/kxcovctx.html