dimanche 28 décembre 2014

Flickering splash screen using adobe air with iPhone 5, or 6

Landscape ONLY app, using adobe air 16 beta, on iOS 8.1 simulator.


The images I provide as splash screen are the following:


A. Default@2x.png (iPhone 4) B. Default-568h@2x.png (iPhone 5)



If I understand correctly, launching an ios air app does the following:

1. iOS launches the correct splash screen
2. air tries to show the same splash screen
after the iOS splash screen is over, untill the stage of air is ready.
3. Stage is ready for the developer to display whatever he wants.


A normal iPhone 4 scenario would be:



first image A is displayed by iOS,
then image A is displayed again by air,
and then the stage becomes available..


My problem is, using an iPhone 5, what happens is the following:



first image B is (correctly) displayed by iOS,
but then image A is used by air (instead of image B again).
Also air rotates image B (making it seem as if it was portrait)
so that makes everything even worse..


Any suggestions?




Aucun commentaire:

Enregistrer un commentaire