【问题标题】:Launch screen via custom url for iPhone 5通过 iPhone 5 的自定义 URL 启动屏幕
【发布时间】:2013-01-01 20:18:07
【问题描述】:

根据 Apple docs,当我的应用通过自定义 url 方案启动时,我可以使用不同的启动图像。我已经能够为 3.5" 标准和视网膜图像实现这一点。

我应该使用

<basename>-<url_scheme><scale_modifier><device_modifier>.png

产生 Default.png -> default-customURL.png 和 Default@2x.png -> Default-customURL@2x.png

但我不能完全正确

默认-568h@2x.png -> ???

我应该如何格式化这个文件名?

【问题讨论】:

  • 我指的是 Default.png 图像 - 在链接文档中,它们在“应用程序启动(默认)图像”标题下进行了讨论。当然,我一问就知道了。

标签: iphone ios cocoa-touch iphone-5 default.png


【解决方案1】:

正确的格式是:

Default-customURL-568h@2x.png
Default-customURL-667h@2x.png
Default-customURL-756h@3x.png

...适用于 4"、4.7" 和 5.5" Retina 显示屏

【讨论】:

    猜你喜欢
    • 2017-05-27
    • 1970-01-01
    • 2014-11-05
    • 1970-01-01
    • 2015-12-30
    • 2015-11-15
    • 1970-01-01
    • 2010-12-01
    相关资源
    最近更新 更多