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

烂漫一生 提交于 2019-11-27 05:50:05

问题


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.


回答1:


Try doing Product --> Clean in Xcode

And delete the app from the phone and build again.

Sometimes the Default.png image gets cached



来源:https://stackoverflow.com/questions/12536486/undo-auto-resizing-for-iphone-5-screen-after-adding-default-568h2x-png

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!