StealthRT
StealthRT

Reputation: 10552

iOS 6 iPhone 5 App NOT fullscreen in Phonegap Build?

Hey all i am running my app and it seems to be fullscreen on my android device but it has the black bars on top/bottom on the iPhone 5.... What settings do i need to set for those to work?

The way my app looks on my android is this:

enter image description here

And the way it looks on my iPhone 5 is this:

enter image description here

Upvotes: 3

Views: 4259

Answers (3)

PANKAJ VERMA
PANKAJ VERMA

Reputation: 3590

It happens also when Launch Screen File is not specified. Go to

Target Setting --> General --> App Icons and Launch Images --> Launch Screen File --> (select) Main.Storyboard.

Done!

Upvotes: 1

Joe Naber
Joe Naber

Reputation: 537

to give a bit more detail, add this line, and the corresponding image to your config.xml file:

<gap:splash src="images/[email protected]" gap:platform="ios" width="640" height="1136" />

Upvotes: 1

Chris Loonam
Chris Loonam

Reputation: 5745

For your app add the default image for the iphone 5, [email protected]. That automatically gets rid of the bars.

Upvotes: 8

Related Questions