简体   繁体   English

iOS应用程序在iPhone5s上以iPhone4分辨率运行吗?

[英]iOS app runs at iPhone4 resolution on my iPhone5s?

Just loaded my app onto my iPhone 5s, and did the same for my colleagues (all on iPhone 5s). 刚刚将我的应用程序加载到我的iPhone 5s上,并且对我的同事做了同样的事情(全部在iPhone 5s上)。

While the app runs at the correct resolution in all of the Xcode simulators, it runs at (what looks like) iPhone4 resolution on our actual devices. 虽然该应用程序在所有Xcode模拟器中均以正确的分辨率运行,但在实际设备上以iPhone4分辨率(看上去)运行。

How can I fix this? 我怎样才能解决这个问题?

Once you include the LaunchImage for iPhone 5, the app will build at that resolution. 包括适用于iPhone 5的LaunchImage后,该应用将以该分辨率构建。

The same goes for the new iPhone 6's - until you include those launch images your app will be scaled. 新的iPhone 6也是如此-在您添加这些启动图像之前,您的应用将进行缩放。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM