Undo auto resizing for iPhone 5 screen after adding [email protected]
Asked Answered
D

1

9

I followed the instructions in this answer: https://mcmap.net/q/73953/-how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution to update my app for the new iPhone 5 screen size. Great, worked perfectly!

But, I am not quite ready to make this update and wish to roll back to the letterbox setup for now. I tried deleting [email protected] to see if that would work, but my app still fills up the full iPhone 5 screen even without the [email protected] file.

Anyone know how to undo the auto resizing for iPhone 5 after adding [email protected]?

[EDIT] I have not tired with an iPhone 5 device, but my question is specifically with the simulator.

Dedicate answered 21/9, 2012 at 18:50 Comment(0)
S
21

Try doing Product --> Clean in Xcode

And delete the app from the phone and build again.

Sometimes the Default.png image gets cached

Strachey answered 21/9, 2012 at 18:59 Comment(3)
Thanks shabzco, this was half correct. I fixed my own issue. You need to completely reset content and settings in the simulator, for both iOS 5.x and 6.0, and then restart the simulator. Then, do a Product --> Clean as @shabzco suggested. Guess the simulator and product needed a real thorough cleaning.Dedicate
This is probably related to my question here: #4434622, it's likely that the old [email protected] was stale in there even though it had been removed from the project. The good news is that it wouldn't have made it to the app store, but would have stuck around on any devices or simulators you were testing on from Xcode.Apparition
One thing I found helpful was to check for the warning "Missing ... Retina 4 launch image"Olli

© 2022 - 2024 — McMap. All rights reserved.