【发布时间】:2017-09-13 17:38:25
【问题描述】:
我正在为我的应用的 LaunchImage 使用 images.xcassets,并且某些类型的 iPad 在启动时显示 iPhone 图像或 AppIcon 图像,而不是指定的 iPad 图像。
这是我的应用程序图标和启动图像设置的屏幕截图
以下是我的 xcassets 文件的 Contents.json 代码:
{
"images" : [
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "736h",
"filename" : "ios_launch 7 plus.png",
"minimum-system-version" : "8.0",
"orientation" : "portrait",
"scale" : "3x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "667h",
"filename" : "ios_launch 7@2x.png",
"minimum-system-version" : "8.0",
"orientation" : "portrait",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "ios_launch se-1.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "retina4",
"filename" : "ios_launch se.png",
"minimum-system-version" : "7.0",
"orientation" : "portrait",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "ios_launch ipad.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "ios_launch ipad pro.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
我不确定为什么会这样。这在 iPad Air 上不会发生。我能找到帮助的文档很少。感谢我能得到的任何帮助。
【问题讨论】:
标签: ios xcode ipad launchimage