iPhone5s 7.1模拟器中的奇怪屏幕

时间:2014-12-30 08:14:58

标签: ios iphone xcode

我有xcode 6,目标是7.0。我对其他模拟器没有问题。但在iPhone5s7.1中,屏幕有黑色顶栏和底栏enter image description here

2 个答案:

答案 0 :(得分:0)

这是因为iPhone 5s的屏幕比iPhone 4及更早版本更高。您很可能将视图设置为静态大小,而不是将其设置为动态调整大小。

答案 1 :(得分:0)

如果您默认使用@ 2x.png文件,那么我确信您的应用在iPhone5s和其他视网膜设备上看起来不错。

作为@WonderMonster的答案你必须制作@ 2x大小的图像 阅读此https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconM atrix.html