转载自:http://www.starming.com/index.php?v=index&view=21

在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 里添加
//加一张自定义的图就实现了。就这么简单。当然复杂的你可以自己在这里实现下
self.window.rootViewController.view.alpha = 0;
UIImageView *splashImageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"splash"]];
[self.window addSubview:splashImageView];
[UIView animateWithDuration:0.7 animations:^{
self.window.rootViewController.view.alpha = 1.0;
} completion:^(BOOL finished) {
[addSubview:splashImageView removeFromSuperview];
}];

最新文章

  1. Awstats显示国家地区插件GeoIP安装
  2. UIDynamic-附着行为:UIAttachmentBehavior
  3. 使用CXF框架集成Spring实现SOAP Web Service
  4. 十分钟掌握Activity的生命周期与启动模式
  5. 【GoLang】go 微服务框架 && Web框架学习资料
  6. 安装Birt方法
  7. Android BLE 蓝牙低功耗教程,中央BluetoothGatt和周边BluetoothGattServer的实现
  8. c++命名空间瀑布
  9. H264的coded_block_pattern编码块模式
  10. Quartz总结(一):Quartz集成Spring的2个方法
  11. C++ 编译期封装-Pimpl技术
  12. H5页面测试实战总结
  13. 微博第三方登录使用social_django实现显示登陆的用户名
  14. HTML中include file的用法
  15. Html lable 标签
  16. Java_IO异常处理方式_入门小笔记
  17. 使用rsync, 向另外一台服务器同步目录和文件的脚本
  18. Android短信收到,语音播报
  19. 【紫书】 Unix ls UVA - 400 模拟
  20. MySqli 中预处理类 stmt

热门文章

  1. KNN算法的补充
  2. 用js 将long类型转换成日期格式
  3. javascript: 字符串拼接有问题
  4. 遭遇mediumint上限
  5. server服务器信息页面添加步骤
  6. PHP基本类型操作
  7. js的各种错误类型
  8. http & json
  9. 【jsp网站计数功能】 application session
  10. CodeForces 719A Vitya in the Countryside 思维题