当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - App not correctly resized on iPhone 5

问题描述:

So I was trying to update my old app to fit the iPhone 5 screen. I followed the instructions on this thread. I created a lauch image "[email protected]" for the iPhone 5. Tested it on simulator, the app resized automatically to fit the 4-in screen. But when I tested it on my iPhone 5, the app was still letterboxed. When the app launched, the launch image was still the old 3.5-in one, not the 4-in one I added.

I also tried setting the UIViewAutoResizingMask, but still no luck. So the same code works perfectly on simulator, but not on my iPhone 5. Can anyone help?

Any suggestion/comment is appreciated! Thanks!

网友答案:

Have you tried to delete the app in your iPhone, clean all the targets in Xcode?

网友答案:

Maybe you could check in your projects "Build Phases" if the picture is in "Copy Bundle Resources"

分享给朋友:
您可能感兴趣的文章:
随机阅读: