Search code examples
iphoneios7ios8xcode6screen-size

iOS app of xcode 6 not run properly in iOS7 , app leave the some black space from top and bottom


I am creating an ios app in xocde 6 and it run in simulator ( iphone5 iOS 8.0) it work very well. But it not work in iphone 5 iOS 7.0 simulator or iphone iOS 7.0 device. App leave some space from top and bottom .So please help me how can resolve it.

enter image description here


Solution

  • First thing is that you must add the required default image for 4 inch screen display. Check Properly in you project have image with name Default-568h@2x.png (640 × 1136 pixels)

    Ones you add this image in to you Project, Remove old Build from device or Simulator, clear Project and re build.