Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
321 views
in Technique[技术] by (71.8m points)

size - Undo auto resizing for iPhone 5 screen after adding Default-568h@2x.png

I followed the instructions in this answer: https://stackoverflow.com/a/12397309/1084932 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 Default-568h@2x.png to see if that would work, but my app still fills up the full iPhone 5 screen even without the Default-568h@2x.png file.

Anyone know how to undo the auto resizing for iPhone 5 after adding Default-568h@2x.png?

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Try doing Product --> Clean in Xcode

And delete the app from the phone and build again.

Sometimes the Default.png image gets cached


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...