iOS: 最简单的splash screen实现

来源:互联网 发布:ui 设计软件 编辑:程序博客网 时间:2024/05/17 07:08

把一个Default.png放到你的ios project resource里,然后在AppDelegate的didFinishLaunchingWithOptions method的开头加入下面这行代码即可

    [NSThread sleepForTimeInterval:2.0]; //splash画面就停留2秒后消失

ref link: http://blog.sina.com.cn/s/blog_698415f20100xqek.html

原创粉丝点击