PhoneGap and iPhone 5 lanscape splash screen... please help

Get help using Construct 2

Post » Sat Mar 05, 2016 10:55 am

Message: sylva1n can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi all,

I have a problem submitting my iOS app compiled with PhoneGap. My app is landscape only and I want to add custom splash screen. According to PhoneGap documentation, I added those lines in my config.xml:
<!-- iPhone and iPod touch -->
<splash src="Default.png" platform="ios" width="320" height="480" />
<splash src="[email protected]" platform="ios" width="640" height="960" />
<!-- iPhone 5 / iPod Touch (5th Generation) -->
<splash src="[email protected]" platform="ios" width="640" height="1136" />
<!-- iPad -->
<splash src="Default-Portrait.png" platform="ios" width="768" height="1024" />
<splash src="Default-Landscape.png" platform="ios" width="1024" height="768" />
<!-- Retina iPad -->
<splash src="[email protected]" platform="ios" width="1536" height="2048" />
<splash src="[email protected]" platform="ios" width="2048" height="1536" />

On all devices tested (iPhone 4S, iPhone 5S, iPad non retina and iPad Retina), my custom splash screen is displayed correctly.

But when submitting my app, I get this error:
ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}." ....

I guess it is because my [email protected] is in fact a landscape picture (1136x640), when Apple waits for a portait picture.

So I changed my picture to 640x1136 picture, submitting is OK, but the splash screen displayed is not OK: it is automatically rotated and stretched...

Please have a look on the 3 pictures below. The first one is the image included in my app (640x1136), the second one is what I would like to see on my iPhone and the third one is what is displayed :
I tried to add a 2nd splash for iPhone 5 with landscape orientation, but PhoneGap does not include this picture in the ipa file.
<splash src="[email protected]" platform="ios" width="1136" height="640" />

Does somebody face the same problem? Do you have a solution?

Posts: 18
Reputation: 450

Post » Sat Mar 05, 2016 8:12 pm

Message: sylva1n can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
According to this :

It seems to be a PhoneGapBuild bug... Nobody else uses a landscape splash screen??
Posts: 18
Reputation: 450

Return to How do I....?

Who is online

Users browsing this forum: SERGIOManOwaR and 8 guests