在iPhone 6 Plus的缩放模式下运行的模拟器? [英] Simulator running in scaling mode for iPhone 6 Plus?

查看:104
本文介绍了在iPhone 6 Plus的缩放模式下运行的模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用启动并在模拟器中的新iPhone 6 Plus(或iPhone 6)上运行,但是我知道在大屏幕上应该很小的元素(即硬编码的CGRect)很大,因为如果整个应用程序只是按比例放大到更大的屏幕.

My app starts and runs on the new iPhone 6 Plus (or iPhone 6) in the simulator, but elements that I know are supposed to be small on the big screen (i.e. hard coded CGRects) are large, as if the whole app had just been scaled up for the larger screen.

如何摆脱模拟器的缩放模式?

How can I get out of scaling mode in the simulator?

推荐答案

在项目设置的应用程序图标和启动图像"部分中设置启动屏幕文件,或者将iOS 8图像添加到启动图像目录中,将启用本机"分辨率.

It looks like setting a launch screen file in the "App Icons and Launch Images" section of your project settings, or adding iOS 8 images to your launch image catalog, will enable "native" resolution.

这篇关于在iPhone 6 Plus的缩放模式下运行的模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆