Merijn Den Houting
Merijn Den Houting

Reputation: 199

Black bars simulating iPhone 5 - Xcode

When running the iPhone 5 simulator 2 black bars appear making it the resolution of the iPhone 4(s). My question is: how am I able to use the full screen resolution? (it also creates black bars all around the app when trying to simulate an iPad)

Now, I know this questions has been answered multiple times here on stackoverflow, but all of them give the solution of adding a [email protected] launch image. I want to make use of the LaunchScreen.xib instead of creating all the seperate launch screen images.

Anyone got a solution for this?

Thanks! - Merijn

Upvotes: 1

Views: 97

Answers (1)

cdescours
cdescours

Reputation: 6012

You must use a specific launch image to take into account the 4" inches screens... or either way you can use a specific Launch screen with autolayout constraint for example if you don't want to add too many launch images : http://useyourloaf.com/blog/2014/12/24/using-a-launch-screen-storyboard.html

Upvotes: 2

Related Questions