felix_xiao
felix_xiao

Reputation: 1628

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!

Upvotes: 5

Views: 4855

Answers (4)

pizzamonster
pizzamonster

Reputation: 1266

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.

Upvotes: 2

hotpaw2
hotpaw2

Reputation: 70693

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.

Upvotes: 5

YoYoHu
YoYoHu

Reputation: 92

A clean build folder can be tricky to find. Normaly you just see under Project > Clean . BUT when you keep your ALTkey pressed it will change into Clean Build Folder!

Upvotes: 1

Nathanial Woolls
Nathanial Woolls

Reputation: 5291

Remove the file [email protected] from your project.

Upvotes: 18

Related Questions