cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <>
Subject [jira] [Commented] (CB-12331) JPG splash screens work on simulator but not work on real device
Date Mon, 09 Jan 2017 13:07:58 GMT


jcesarmobile commented on CB-12331:

I don't think jpg is supported on iOS.

>From the Asset Catalog docs for Launch Images (


Folder Contents
.png files.

As Cordova uses Asset Catalogs for launch images, then the files should be .png

Also, all the examples use .png files, and only Windows platforms says that it supports jpeg
or jpg files.

But maybe it should be documented.

> JPG splash screens work on simulator but not work on real device
> ----------------------------------------------------------------
>                 Key: CB-12331
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>            Reporter: Andy Zhou
> My config.xml has added some JPG files for iOS splash screen, no Android splash added.
>         <splash height="1136" src="res/ios/splash/Default-568h@2x~iphone.jpg" width="640"
>         <splash height="1334" src="res/ios/splash/Default-667h.jpg" width="750" />
>         <splash height="2208" src="res/ios/splash/Default-736h.jpg" width="1242" />
>         <splash height="1242" src="res/ios/splash/Default-Landscape-736h.jpg" width="2208"
>         <splash height="1536" src="res/ios/splash/Default-Landscape@2x~ipad.jpg" width="2048"
>         <splash height="768" src="res/ios/splash/Default-Landscape~ipad.jpg" width="1024"
>         <splash height="2048" src="res/ios/splash/Default-Portrait@2x~ipad.jpg" width="1536"
>         <splash height="1024" src="res/ios/splash/Default-Portrait~ipad.jpg" width="768"
>         <splash height="960" src="res/ios/splash/Default@2x~iphone.jpg" width="640"
>         <splash height="480" src="res/ios/splash/Default~iphone.jpg" width="320" />
> That works fine on iOS simulator, but the splash screens not work on real device, and
causes cropped display (iPhone 4 aspect ratio) on iPhone 5/6.
> I checked the DerivedData/[my app]/Build/Products/ folder, and there are two folders:
Debug-iphoneos and Debug-iphonesimulator, I found the package in Debug-iphonesimulator has
LaunchImage-700.png file (and other LaunchImage-xxx files), it has extension .png but it actually
a JPEG file, but Debug-iphoneos don't have these files.
> This behaviour is weird and does anyone know the reason? Do we need some more document
to declare what happened and how to solve this issue?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message