iPhone 和 iPad 应用启动图像

标签 iphone ios xcode ipad

序言: 这是 iOS 应用程序启动图像(又名 Default.png)上的规范问题(和答案)。

问题

  1. 设置Default.png 的最佳方式是什么;在 Info.plist 中手动或使用 Xcode(我认为仅 支持)
  2. iPhone 是否会根据设备方向自动旋转 Default.png
    • Info.plist 中的 UIInterfaceOrientation(初始界面方向)键有什么作用?
    • UISupportedInterfaceOrientationsUISupportedInterfaceOrientations~ipad 是否对显示 Default.png 有任何影响
  3. 我可以使用这些文件名为 iPad 设置不同的 Default.png 吗?:
    • Default-Portrait.png
    • Default-PortraitUpsideDown.png
    • Default-Landscape.png
    • Default-LandscapeLeft.png
    • Default-LandscapeRight.png
  4. 是否有 iPhone 等价物(见 3)
  5. 有没有Apple涵盖“启动图像”所有方面的文档?如果有,在哪里?

NB: It seems the usage of launch images changes quite frequently between SDK releases, please indicate in your answers what version you are talking about

最佳答案

5) Is there any Apple documentation that covers all aspects of "Launch Images"? If so, where?

有东西here :

Supply a launch image to improve user experience.

Avoid using it as an opportunity to provide:

  • An “application entry experience,” such as a splash screen
  • An About window
  • Branding elements, unless they are a static part of your application’s first screen

关于iPhone 和 iPad 应用启动图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6573602/

相关文章:

iphone - 有没有一种简单的方法可以按键值对 plist(字典数组)进行排序?

html - 为什么 iPhone 上不显示文字

ios - 解除模态视图 Controller 时如何保持呈现 View Controller 的方向?

javascript - 在 native react 中通过表单数据发送音频

ios - 暂停主线程,直到后台线程检索到用户输入

iphone - 使用单个搜索字符串核心数据查询多列

iphone - 是否可以更改 tableView.backgroundView 框架?

ios - 向 iPhone 的 .plist 写入/添加新选项

ios - 如何使用 appStoreReceiptURL

ios - 更改系统字体以进行测试