Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My iPhone App won't run with letterboxes in the new iPhone 5 simulator. How do I get it to letterbox?

I just downloaded the new version of Xcode and ran the app I've been developing. For some reason, it didn't letterbox it. I want to add in the letterboxing effect until I get the app ready for the new screen.

Thanks!

like image 746
Andy Lee Avatar asked Dec 06 '22 12:12

Andy Lee


2 Answers

All glory to @Hemang, this answer is from his comment above, and I'll gladly delete this answer in deference to his.

I had the exact problem. Needed to do both of:

  1. Reset the Simulator: from the menu, iOS Simulator > Reset Content and Settings... .
  2. Clean your Xcode project (⇧⌘K). Personally, I like to clean the entire† derived data directory (⌥⇧⌘K).

† AKA "nuke the entire site from orbit...".

like image 104
Clay Bridges Avatar answered Jan 18 '23 23:01

Clay Bridges


In the simulator, remove your development app. This will remove any leftovers. Now run again, without the new launch image.

like image 29
Léo Natan Avatar answered Jan 19 '23 00:01

Léo Natan