2

When I run my app from Xcode 5.0.2 on an iPhone 5 simulator or device, it runs it at the iPhone 4 height although I already specified 4" screen in Storyboard.

Can't attach an image because of lack of reputation, but there is black space on top and bottom of the app while running.

jscs
  • 63,694
  • 13
  • 151
  • 195
  • Did you add an iPhone5-sized launch image? – Krumelur Feb 15 '14 at 21:52
  • we need more information. Can you post your viewDelegate viewDidLoad code? – badweasel Feb 15 '14 at 22:00
  • possible duplicate of [How to develop or migrate apps for iPhone 5 screen resolution?](http://stackoverflow.com/questions/12395200/how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution) – jscs Feb 15 '14 at 22:02
  • @JoshCaswell - Sorry, I tried searching for related posts but I guess I didn't search hard enough! –  Feb 15 '14 at 22:26

2 Answers2

3

You need to add a correctly sized (1136x640) splash screen image file, named "Default-568h@2x.png".

More info can be found in this related question.

Community
  • 1
  • 1
Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215
0

When you build your app, on the top left it should say iPhone Retina (3.5-inch). Change it to iPhone Retina (4-inch)

ThatGuy
  • 3
  • 3
  • The problem was that I forgot to include default splash screen files. Thanks though! –  Feb 15 '14 at 22:25