此文为使用LaunchImage 做为启动页的教程。
1.在Assets文件里创建一个LaunchImage
如果不用支持横屏操作,可以不用选择Landscape
3、把规定尺寸的图片拖到相应的位置
图片位置 | 分辨率 |
1x | 320 x 480 |
2x | 640 x 960 |
Retina4 | 640x1136 |
Retina HD 4.7 | 750 x 1134 |
Retina HD 5.5 | 1242 x 2208 |
4、 选择 launch Image source 为launchImage 并把Launch screen File 设为空
5 .设置不使用Launch Screen
然后就可以跑起来看到启动页了