iPhone 5.1模拟器(视网膜)看起来很大 [英] iPhone 5.1 Simulator (retina) looks so big

查看:108
本文介绍了iPhone 5.1模拟器(视网膜)看起来很大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将Xcode从4.2升级到4.3.3。然后我启动iOS模拟器(硬件 - >设备设置为iPhone(Retina)),模拟器现在看起来很大,应用程序页面实际上是滚动! (以前它是正确的......不需要滚动)。即使是模拟器中的主页似乎也需要滚动!这是截图...请注意,主页的右侧和底部都有滚动条... ...为什么会这样?它不应该完全适合并且不需要任何滚动吗?

I just upgraded Xcode from 4.2 to 4.3.3. I then launches iOS Simulator (with "Hardware -> Device" set to "iPhone (Retina)") and the simulator now appears so big that the app page has literally to be scrolled!! (previously it was just right ...no scrolling needed). Even the 'Home Page' in the simulator seems to need scrolling! Here's the screenshot...note that the 'home page' has the scroll bar in the right and bottom) ...why is this? Shouldn't it fit exactly and not need any scrolling?

推荐答案

我有一台17英寸笔记本电脑,分辨率为1920x1200,最新款iPad的分辨率为2048x1536。与我的笔记本电脑相比,iPad实际上有更多的像素。

I have a 17" laptop that is 1920x1200 resolution, the newest iPad has a resolution of 2048x1536. The iPad actually had many more pixels in EITHER direction as my laptop.

新的模拟器绝对试图向你显示所有像素,最有可能在1- to-1 fashion,这是最明确的将模拟器关闭屏幕。

The new simulator is DEFINITELY trying to show you all pixels, and most likely in a 1-to-1 fashion, which is most definitley going to take the simulator OFF SCREEN.

像素密度和总像素就是答案!!!

Pixel Density and total pixels is the answer!!!

这篇关于iPhone 5.1模拟器(视网膜)看起来很大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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