Add additional iOS launch images

This commit is contained in:
Joshua Granick
2017-11-27 11:40:17 -08:00
parent 11608887cb
commit a1af7cecbf

View File

@@ -523,15 +523,19 @@ class IOSPlatform extends PlatformTarget {
var splashSizes:Array<SplashSize> = [
{ name: "Default.png", w: 320, h: 480 }, // iPhone, portrait
{ name: "Default@2x.png", w: 640, h: 960 }, // iPhone Retina, portrait
{ name: "Default@2x.png", w: 640, h: 960 }, // iPhone Retina, portrait
{ name: "Default-568h@2x.png", w: 640, h: 1136 }, // iPhone 5, portrait
{ name: "Default-Portrait.png", w: 768, h: 1024 }, // iPad, portrait
{ name: "Default-Landscape.png", w: 1024, h: 768 }, // iPad, landscape
{ name: "Default-Portrait@2x.png", w: 1536, h: 2048 }, // iPad Retina, portrait
{ name: "Default-Landscape@2x.png", w: 2048, h: 1536 }, // iPad Retina, landscape
{ name: "Default-667h@2x.png", w: 750, h: 1334 }, // iPhone 6, portrait
{ name: "Default-736h@3x.png", w: 1242, h: 2208 }, // iPhone 6 Plus, portrait
{ name: "Default-Landscape.png", w: 1024, h: 768 }, // iPad, landscape
{ name: "Default-Landscape@2x.png", w: 2048, h: 1536 }, // iPad Retina, landscape
{ name: "Default-Landscape-568h@2x.png", w: 1136, h: 640 }, // iPhone 5, landscape
{ name: "Default-Landscape-667h@2x.png", w: 1334, h: 750 }, // iPhone 6, landscape
{ name: "Default-736h-Landscape@3x.png", w: 2208, h: 1242 }, // iPhone 6 Plus, landscape
{ name: "Default-Portrait.png", w: 768, h: 1024 }, // iPad, portrait
{ name: "Default-Portrait@2x.png", w: 1536, h: 2048 }, // iPad Retina, portrait
{ name: "Default-1100-Portrait-2436h@3x.png", w: 1100, h: 2436 }, // iPhone X, portrait
{ name: "Default-1100-Landscape-2436h@3x.png", w: 2435, h: 1100 } // iPhone X, landscape
];
var splashScreenPath = PathHelper.combine (projectDirectory, "Images.xcassets/LaunchImage.launchimage");