ios launchscreen设置启动图片 启动页停留时间
问题:想实现类似微信启动页一样 设置为一个整页面的图片
问题二:ios启动页面如何设置多停留一会
新建的ios 项目启动画面默认为launchscreen.xib
如果想实现一张图片作为启动页,如下图
![launchscreen 启动图没有(ios launchscreen设置启动图片与启动","p":true,"g":[{"type":"sug","sa":"s_1","q":"launchscreen 启动图没有"}],"slid":"192398014644037","qu](/zb_users/upload/2022/10/134R12N9-0.png)
![launchscreen 启动图没有(ios launchscreen设置启动图片与启动","p":true,"g":[{"type":"sug","sa":"s_1","q":"launchscreen 启动图没有"}],"slid":"192398014644037","qu](/zb_users/upload/2022/10/134R144H-1.jpg)
![launchscreen 启动图没有(ios launchscreen设置启动图片与启动","p":true,"g":[{"type":"sug","sa":"s_1","q":"launchscreen 启动图没有"}],"slid":"192398014644037","qu](/zb_users/upload/2022/10/134R14142-2.jpg)
如果启动不行 记得clear 一下工程
是启动页停留一段时间 只需要在appdelegate
?| 1 2 3 4 5 6 7 8 9 10 11 12 |
- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions {
// override point for customization after application launch.
[nsthread sleepfortimeinterval:3.0];//设置启动页面时间
return yes;
}
|
添加一个[nsthreadsleepfortimeinterval:3.0];//设置启动页面时间
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
原文链接:http://blog.csdn.net/wakice/article/details/51775838








发表评论
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。