Support Phonegap 2.1 to display iPhone 5

I upgraded to phonegap 2.1, hoping I can handle the 4-inch Retina display of the new Iphone 5. (I'm not sure if they ever promised to support it anyway)

The problem is that (you guessed it) when I change the device to the Iphone 4-inch display in the iOS simulator, it looks like this. How to deal with black stripes above and below?

enter image description here

+4
source share
1 answer

All you have to do is add another splash: add a default image: 568h@2x.png , with a resolution of 640 x 1136 px and it will work.

Next time: Google is your friend;)

+8
source

Source: https://habr.com/ru/post/1435697/


All Articles