Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Get Black Borders in iPhone 5

When I first updated Xcode and tested my app in the iPhone 5 simulator, the app ran perfectly with black borders at the top and bottom. Then, something popped up asking if I wanted Xcode to auto-resize the app so that it would fit the entire screen. I clicked yes, and now everything is messed up. Is there a way to get the borders back? I want to submit an update for my app as soon as possible. Thank you!

like image 776
felix_xiao Avatar asked Sep 20 '12 17:09

felix_xiao


3 Answers

Remove the file [email protected] from your project.

like image 186
Nathanial Woolls Avatar answered Oct 08 '22 00:10

Nathanial Woolls


4 steps:

  • Uncheck the Target Membership of the [email protected] file in the File Inspector pane (or just remove the file).
  • Do an (Option key) Clean Build Folder on the target, and a regular Clean as well.
  • Delete the app from the Simulator.
  • Rebuild the app and Run it.
like image 42
hotpaw2 Avatar answered Oct 08 '22 00:10

hotpaw2


Please be aware that as of May 1 Apple requires the [email protected] image in your application for submission to the App Store. Without that image you will receive an invalid binary rejection.

like image 20
pizzamonster Avatar answered Oct 08 '22 01:10

pizzamonster