在iOS应用程序中启动图像的目的是什么? [英] What is the purpose of launch images in an iOS application?

查看:95
本文介绍了在iOS应用程序中启动图像的目的是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将启动图像添加到iOS应用程序有多重要?我假设这些类似于在应用程序进行设置时在屏幕上显示的缓存文件,否则在完全运行之前可能无法显示任何内容。这是对的吗?



如果是这样,如果您的应用可能以不同的状态启动,那么启动图像应该是什么,或者当多任务处理时这不会影响到前景?如果它仅适用于应用程序的首次初始启动,那么启动图像应该与您第一次启动应用程序时通常显示的图形相同,对吗?



<苹果必须不在乎你的应用程序是否真的包含这些,因为我的应用程序从未有过。

解决方案

注意:作为Zev以下提到,自我最初回答这个问题以来,Apple HIG的建议已经改变。 Apple现在建议您使用第一个屏幕的所有静态元素,并将其设置为默认或启动页面。所有动态元素都将被删除,以给人的印象是您的应用正在进行初始化过程 - 在某些情况下,这可能意味着您的默认屏幕只是您应用的背景。感谢Zev Eisenberg指出这一点,不建议使用启动页面。



启动图像将在您的应用初始化时显示,最好有一个。如果您没有,则用户可能会在等待您的应用加载时盯着空白屏幕。我相信建议使用看起来像应用程序第一页的图像。以下是参考资料:



http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages .html#// apple_ref / doc / uid / TP40006556-CH14-SW5


How important is it to add Launch Images to an iOS application? I assume that these are like a cached file to show on the screen while the application is getting setup, when there might otherwise be nothing to show until it is fully running. Is this right?

If so, what should a launch image be if your app might start in different states, or does this not effect return to foreground when multitasking? If it is only for the very first initial launch of the app, then the launch image should just be the same as whatever graphic normally appears when you first start the app, right?

Apple must not care too much about whether your app actually includes these, since mine never have.

解决方案

Note: as Zev mentions below, the Apple HIG recommendation has changed since I originally answered this question. Apple now recommends that you take all of the static elements of your first screen and make that into your default or launch page. All dynamic elements are to be removed, to give the impression that your app is going through an initialization process -- which in some cases may mean that your default screen is simply a background from your app. Thanks to Zev Eisenberg for pointing that out, "splash" pages are not recommended.

The launch image will show while your app is initializing, it's a good idea to have one. If you don't have one the user is likely to stare at a blank screen while waiting for your app to load. I believe the recommendation is to use an image that looks like the first page of your app. Here is the reference:

http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5

这篇关于在iOS应用程序中启动图像的目的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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