优化iPhone应用程序启动时间 [英] Optimizing iPhone Application Launch Time

查看:143
本文介绍了优化iPhone应用程序启动时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iPhone的任何人都知道,有些应用程式会快速启动,而其他应用程式则需要几秒钟。

As anyone with an iPhone knows, some applications launch quickly, while others take several seconds.

确保iPhone应用程式启动并成为可用的最佳技术

What are the best techniques for ensuring an iPhone app launches and becomes usable in a snappy manner?

推荐答案

Apple建议您延迟加载每个视图。也就是说

Apple recommends you "lazy load" every view. I.e. only load the first page on start up, and other pages only when they are navigated to.

在图形方面,尽可能使用PNG作为设备进行了大量优化,这种格式。

In terms of graphics, use PNGs wherever possible as the device is heavily optimized for this format.

还包括启动屏幕截图,以便用户知道应用程序正在加载。

Also include the startup screenshot so the user knows the application is loading.

这篇关于优化iPhone应用程序启动时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆