首页 文章

为所有iphone 's and ipad'系列设置图标应用程序

提问于
浏览
0

我正面临着xcode的问题 . 我用Gimp创建了一个图标(720x720) . 我发现这个网站https://makeappicon.com/为iphone 's and 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

谢谢

1 回答

  • 1

    我想你需要57x57 . 创建该大小并将Icon-57.png添加到列表中 . (连同2x) .

相关问题