【问题标题】:Xcode doesn't recognize iPhone "Launch Images"Xcode 无法识别 iPhone“启动图像”
【发布时间】:2012-12-28 23:51:45
【问题描述】:

我正在使用 XCode 4.5。我注意到 XCode 无法检测到仅适用于 iPhone 和 iPhone(3.5 英寸)的“Launch Images”,但对于 Retina(4 英寸)和 iPad,它们还可以。

我的文件列表:

Default-568h@2x.png (OK)
Default-Portrait@2x~ipad.png (OK)
Default-Portrait~ipad.png (OK)
Default.png (Not shown in summary page)
Default@2x.png (Not shown in summary page)

有什么理由或者我应该为这些文件取一个更好的名称吗?

【问题讨论】:

  • 名称看起来不错,但您是否可能在 info.plist 中混淆了大小写,因为在设备上 default.png 不等于 Default.png
  • @rckoenes,我没有在 info.plist 中定义 Default*,例如cat info.plist | grep -i default 不返回任何东西。

标签: iphone objective-c ios xcode ipad


【解决方案1】:

你可以试试 iPhone:

  • 默认-iphone.png
  • Default@2x-iphone.png

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-11-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-12
    相关资源
    最近更新 更多