【问题标题】:Set icon app for all iphone's and ipad's series为所有 iphone 和 ipad 的系列设置图标应用程序
【发布时间】:2016-04-18 21:34:46
【问题描述】:

我在使用 xcode 时遇到问题。我用 Gimp 创建了一个图标 (720x720)。我发现这个网站https://makeappicon.com/ 为iphone 和ipad 的一部分创建了相关图标。它会生成一个包含图像的文件夹和一个名为“Contents.json”的文件。这个文件的内容是:

{
  "images" : [
    {
      "idiom" : "iphone",
      "size" : "29x29",
      "scale" : "2x",
      "filename" : "Icon-Small@2x.png"
    },
    {
      "idiom" : "iphone",
      "size" : "29x29",
      "scale" : "3x",
      "filename" : "Icon-Small@3x.png"
    },
    {
      "idiom" : "iphone",
      "size" : "40x40",
      "scale" : "2x",
      "filename" : "Icon-40@2x.png"
    },
    {
      "idiom" : "iphone",
      "size" : "40x40",
      "scale" : "3x",
      "filename" : "Icon-40@3x.png"
    },
    {
      "idiom" : "iphone",
      "size" : "60x60",
      "scale" : "2x",
      "filename" : "Icon-60@2x.png"
    },
    {
      "idiom" : "iphone",
      "size" : "60x60",
      "scale" : "3x",
      "filename" : "Icon-60@3x.png"
    },
    {
      "idiom" : "ipad",
      "size" : "29x29",
      "scale" : "1x",
      "filename" : "Icon-Small.png"
    },
    {
      "idiom" : "ipad",
      "size" : "29x29",
      "scale" : "2x",
      "filename" : "Icon-Small@2x.png"
    },
    {
      "idiom" : "ipad",
      "size" : "40x40",
      "scale" : "1x",
      "filename" : "Icon-40.png"
    },
    {
      "idiom" : "ipad",
      "size" : "40x40",
      "scale" : "2x",
      "filename" : "Icon-40@2x.png"
    },
    {
      "idiom" : "ipad",
      "size" : "76x76",
      "scale" : "1x",
      "filename" : "Icon-76.png"
    },
    {
      "idiom" : "ipad",
      "size" : "76x76",
      "scale" : "2x",
      "filename" : "Icon-76@2x.png"
    },
    {
      "idiom" : "ipad",
      "size" : "83.5x83.5",
      "scale" : "2x",
      "filename" : "Icon-83.5@2x.png"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "makeappicon"
  }
}

在我的 iPhone 5s iOS 9.2 上它工作正常,这意味着图标设置正确,但在我的 iPhone 3gs iOS 6.1.6 上没有设置图标。此文件中缺少什么?从逻辑上讲,我不可能拥有所有 iPhone 的设备和 iPad 的设备。文件中还有什么遗漏,以匹配 Apple 的所有设备(iPhone 和 iPad)?我的应用必须支持 iOS 6.1 和 iPhone 3gs

谢谢

【问题讨论】:

    标签: ios iphone xcode ipad icons


    【解决方案1】:

    我认为您需要 57x57。创建该尺寸并将 Icon-57.png 添加到您的列表中。 (连同 2 倍)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-09-18
      • 2011-06-22
      • 1970-01-01
      • 2012-06-03
      • 2015-06-13
      • 2011-04-07
      • 2014-05-31
      相关资源
      最近更新 更多