去弄Launch screen启动界面
iOS 8之后,不支持静态图片,只支持xib或storyboard
在Xcode项目中可以看到:
![xcode add launch screen storyboard](https://www.crifan.com/files/pic/uploads/2016/08/xcode-add-launch-screen-storyboard.png)
![launch screen storyboard edit ui](https://www.crifan.com/files/pic/uploads/2016/08/launch-screen-storyboard-edit-ui.png)
搜:
xcode 如何创建 启动界面
xcode 如何修改 启动界面
参考:
![jiandao v1.0 launch screen](https://www.crifan.com/files/pic/uploads/2016/08/jiandao-v1.0-launch-screen.png)
启动看看效果:
结果没有出现启动界面
再去设置启动界面为
launchScreen.storyboard
![set launch screen file to launchScreen storyboard](https://www.crifan.com/files/pic/uploads/2016/08/set-launch-screen-file-to-launchScreen-storyboard.png)
后来才发现,已经有了启动界面了:
![jiandao has launch screen retain](https://www.crifan.com/files/pic/uploads/2016/08/jiandao-has-launch-screen-retain.png)
就是消失太快了,没来得及看清。
算了,懒得继续弄启动界面了。
就这么凑合用吧。
转载请注明:在路上 » [记录]Xcode添加Swift写的iOS的app的启动界面