iOS应用程序启动画面使用的大小是多少? [英] What are the sizes used for the iOS application splash screen?

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

问题描述

我正在使用iOS SDK开发应用程序。我需要知道我需要的默认闪屏大小。

I am developing an application using the iOS SDK. I need to know what Default splash screen sizes I need.

推荐答案

2018年更新 - 请不要使用此信息!



我将离开以下帖子以供参考。

请阅读Apple的文档人机界面指南 - 启动屏幕,了解有关启动屏幕和建议的详细信息。

Please read Apple's documentation Human Interface Guidelines - Launch Screens for details on launch screens and recommendations.

谢谢

Drekka

Thanks
Drekka

2012年7月 - 由于此回复相当陈旧,但仍然很受欢迎。我写了一篇基于Apple的doco的博客文章和把它放在我的博客上。我希望你们觉得它很有用。

July 2012 - As this reply is rather old, but stills seems popular. I've written a blog post based on Apple's doco and placed it on my blog. I hope you guys find it useful.

是的。在iPhone / iPad开发中,设备会自动显示 Default.png 文件,因此您无需对其进行编程,这非常有用。我没有它,但是你需要为具有特定名称的iPad提供不同的PNG。我用Google搜索 iPad默认png 并获得来自 phunkwerks 网站的此信息

Yes. In iPhone/iPad development the Default.png file is displayed by the device automatically so you don't have to program it which is really useful. I don't have it with me, but you need different PNGs for the iPad with specific names. I googled iPad default png and got this info from the phunkwerks site:

为了处理各种方向选项,我们为iPad启动图像创建了一个新的命名约定。 iPad的屏幕尺寸为768×1024,注意高度后面的尺寸考虑了20像素的状态栏。

To deal with various orientation options, a new naming convention has been created for iPad launch images. The screen size of the iPad is 768×1024, notice in the dimensions that follow the height takes into account a 20 pixel status bar.


  • Default-Portrait.png * - 768w x 1024h

  • Default-PortraitUpsideDown.png - 768w x 1024h

  • Default-Landscape.png ** - 1024w x 748h

  • Default-LandscapeLeft.png - 1024w x 748h

  • Default-LandscapeRight.png - 1024w x 748h

  • iPad-Retina-Portrait.png - 1536w x 2048h

  • iPad-Retina-Landscape.png - 2048w x 1496h

  • Default.png - 不推荐

  • Default-Portrait.png * — 768w x 1024h
  • Default-PortraitUpsideDown.png — 768w x 1024h
  • Default-Landscape.png ** — 1024w x 748h
  • Default-LandscapeLeft.png — 1024w x 748h
  • Default-LandscapeRight.png — 1024w x 748h
  • iPad-Retina–Portrait.png — 1536w x 2048h
  • iPad-Retina–Landscape.png — 2048w x 1496h
  • Default.png — Not recommended

* - 如果如果您没有指定 Default-PortraitUpsideDown.png 文件,则此文件优先。

*—If you have not specified a Default-PortraitUpsideDown.png file, this file will take precedence.

** - 如果您尚未指定 Default-LandscapeLeft.png Default-LandscapeRight.png 图像文件,此文件优先。

**—If you have not specified a Default-LandscapeLeft.png or Default-LandscapeRight.png image file, this file will take precedence.

这个链接到Apple的开发者库也很有用。

这篇关于iOS应用程序启动画面使用的大小是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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