Retina Display Issue in Xcode 5

iPhone have two types of display screens:-

1. Retina Display 3.5

2. Retina Display 4.0

If you create a project in xCode 5 and you tries to run the project in iOS 6(or below) with Retina Display 4.0 , then screen will come like this:-

iOS Simulator Screen shot 12-Nov-2013 1.24.50 PM

It will show black spaces at the top and the bottom.Why it is not coming fullscreen? Here is the reason for that.

For supporting Retina Display 4.0 , “Default-568h@2x.png” image should be there in your project. xCode versions below xCode 5 used to create this file automatically. xCode 5 do not creates this image file automatically. So we need to add this file manually. Here is that image file.



Here are the steps to add this file to xCode 5:-

1. Copy “Default-568h@2x.png” image file from any of your previous project. Put this file in your project folder. Then add this file in your project

.Screen Shot 2013-11-12 at 2.59.58 PM


2. Now go to project -> targets -> Copy Bundle Resources . Now add “Default-568h@2x.png” image file here.

Screen Shot 2013-11-12 at 3.02.28 PM


Now run the project. The output will be like this:-

iOS Simulator Screen shot 12-Nov-2013 1.25.12 PM


Now start working with your project.

The following two tabs change content below.


  1. Common bugs in iOS7 and their fix » Novasys Technical Blogs - […] Fix: Please follow the step given here […]

Submit a Comment

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current month ye@r day *