如何下载iPad Mini模拟器 [英] How to download iPad Mini simulator

查看:544
本文介绍了如何下载iPad Mini模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Xcode 8.2中的iPad mini屏幕上测试我的应用程序,但我找不到相同的模拟器。

I want to test my application on iPad mini screen in Xcode 8.2, but I could not find the simulator for the same.

我也尝试添加模拟器硬件>设备>点击底部添加菜单,但在这里我看不到任何下载iPad mini模拟器的选项。

I have also tried to add simulator Hardware > Device > click bottom add menu but here I do not see any option to download the iPad mini simulator.

推荐答案

没有单独的iPad迷你模拟器; mini的特性与9.7iPad相同。

There is no separate iPad mini Simulator; the characteristics of the mini are identical to the 9.7" iPad.

编辑:为了澄清,我们总是匹配设备的像素数你正在模拟。在100%比例(在窗口菜单中),我们使这些虚拟像素与你的Mac的PPI相匹配。如果你有一个视网膜屏幕并且你正在模拟一个2x视网膜设备,那么每个Mac视网膜像素将1:1映射到一个模拟设备像素。

edit: To clarify, we always match the number of pixels for the device you are simulating. At 100% Scale (in the Window menu) we make those virtual pixels match your Mac's PPI. If you have a retina screen and you're simulating a 2x retina device then each Mac retina pixel maps 1:1 to a simulated device pixel.

在任何情况下,我们都不会尝试使屏幕上的模拟器具有相同的物理设备大小。如果您以100%运行iPad Air 2模拟器缩放并将标尺放到屏幕上,您将看到它不是9.7对角线,因为Mac没有相同的屏幕PPI。 Retina MacBook Pro每英寸有220像素。 iPad Mini 4每英寸有326像素。 iPad Air 2有264 PPI。如果我们将窗口物理地设置为7.9英寸或9.7英寸,那么我们必须缩小虚拟图像以适应。

In no case do we try to make the on-screen Simulator have the same physical device size. If you run the iPad Air 2 simulator at 100% scale and put a ruler up to the screen you will see that it isn't 9.7" diagonal because the Mac doesn't have the same screen PPI. A Retina MacBook Pro has 220 pixels per inch. An iPad Mini 4 has 326 pixels per inch. An iPad Air 2 has 264 PPI. If we made the window physically 7.9" or 9.7" then we'd have to scale the virtual image down to fit.

所以答案是一样的:使用iPad Air或iPad Air 2.如果我们 有一个iPad迷你模拟器它将与9.7iPad模拟器完全相同,无法区分。

So the answer is the same: use the iPad Air or iPad Air 2. If we did have an iPad mini simulator it would be identical and indistinguishable from the 9.7" iPad simulators.

编辑:我的原始答案现在略有过时。我们添加了一个物理尺寸选项,用于检查Mac的PPI和模拟设备的PPI,然后计算出与物理尺寸相匹配的屏幕尺寸。这与9.7英寸iPad的尺寸相匹配,而不是iPad mini的尺寸。

edit: My original answer is slightly out of date now. We added a "Physical Size" option that checks your Mac's PPI and the simulated device's PPI then figures out the on-screen size required to match the physical dimensions. That matches the size of the 9.7" iPad, not the iPad mini.

目前没有办法触发iPad mini的物理尺寸。

There is not currently a way to trigger "Physical Size" for the iPad mini.

这篇关于如何下载iPad Mini模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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