且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS 启动画面的持续时间 (Default.png)

更新时间:2023-01-06 07:39:05

启动画面的人机界面指南 是:不要使用启动画面.第二条规则是:不要使用闪屏!:

The first rule of Human Interface Guidelines for Splash Screens is: don't use splash screens. The second rule is: don't use splash screens!:

提供启动图像以改善用户体验.

Supply a launch image to improve user experience.

避免使用您的发布图片作为提供的机会:

Avoid using your launch image as an opportunity to provide:

应用程序入口体验",例如启动屏幕

An "application entry experience," such as a splash screen

关于窗口

品牌元素,除非它们是应用程序首屏的静态部分

Branding elements, unless they are a static part of your application’s first screen

如果你绝对必须包含一个长时间的启动画面,并且有充分的理由这样做,通常的方法是抛出一个 UIImageView 包含你启动图像的副本,例如, application:didFinishLaunchingWithOptions: - 应该提供一个冗长的启动画面的错觉.

If you absolutely must include a long-duration splash screen, and have darn good reasons for doing so, the usual approach is to throw up a UIImageView containing a copy of you launch image in, e.g., application:didFinishLaunchingWithOptions: - which should provide the illusion of a lengthy splash screen.

但请不要.