这个问题在这里已经有了答案:
Best Answer-推荐答案 strong>
在该屏幕截图中,您似乎只加载了 iPhone 图标。您的应用程序是否在主要设置中同时设置为 iPhone 和 iPad?您可能必须创建一个新项目,并将“设备”设置为“通用”,以便 iPad 选项显示在 AppIcon 文件中(请参见下图,您需要的外观)。
如果您不想创建一个全新的项目,请在查找器中打开您的 AppIcon 文件,删除所有内容,将下面的代码粘贴进去,保存并再次添加所有 iPhone 和 iPad 图像。
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
关于ios - iphone应用程序在ipad上不显示图标,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/42284618/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://jike.in/) |
Powered by Discuz! X3.4 |