Support for iOS icon sizes 20, 20@2x, 20@3x, 29@3x, 40@3x.

This commit is contained in:
Adam
2018-02-16 15:30:51 -08:00
committed by Joshua Granick
parent 0ada7dca69
commit 6d4040f771
2 changed files with 17 additions and 6 deletions

View File

@@ -489,17 +489,22 @@ class IOSPlatform extends PlatformTarget {
PathHelper.mkdir (projectDirectory + "/haxe/lime/installer");
var iconSizes:Array<IconSize> = [
{ name: "Icon-20.png", size: 20 },
{ name: "Icon-Small.png", size: 29 },
{ name: "Icon-Small-40.png", size: 40 },
{ name: "Icon-20@2x.png", size: 40 },
{ name: "Icon-Small-50.png", size: 50 },
{ name: "Icon.png", size: 57 },
{ name: "Icon-Small@2x.png", size: 58 },
{ name: "Icon-20@3x.png", size: 60 },
{ name: "Icon-72.png", size: 72 },
{ name: "Icon-76.png", size: 76 },
{ name: "Icon-Small-40@2x.png", size: 80 },
{ name: "Icon-Small@3x.png", size: 87 },
{ name: "Icon-Small-50@2x.png", size: 100 },
{ name: "Icon@2x.png", size: 114 },
{ name: "Icon-60@2x.png", size: 120 },
{ name: "Icon-Small-40@3x.png", size: 120 },
{ name: "Icon-72@2x.png", size: 144 },
{ name: "Icon-76@2x.png", size: 152 },
{ name: "Icon-83.5@2x.png", size: 167 },

View File

@@ -1,13 +1,15 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-20@2x.png",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-20@3x.png",
"scale" : "3x"
},
{
@@ -23,8 +25,9 @@
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-Small@3x.png",
"scale" : "3x"
},
{
@@ -34,8 +37,9 @@
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-Small-40@3x.png",
"scale" : "3x"
},
{
@@ -63,13 +67,15 @@
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-20.png",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-20@2x.png",
"scale" : "2x"
},
{