9

即使在将 iPhone 6 plus 模拟器缩放到 50% 之后(没有选项可以缩放小于这个),它的大小仍然很大。我怎样才能把它缩小到 25% 或更少?

在此处输入图像描述

4

3 回答 3

17

在终端中运行它:

默认写入 ~/Library/Preferences/com.apple.iphonesimulator SimulatorWindowLastScale "0.4"

您可以根据自己的喜好改变“0.4”。然后,在模拟器中,硬件-> 设备-> iphone 6 plus。

于 2014-10-27T10:43:32.087 回答
0

您可以将 iOS 模拟器缩放到所需的比例(我尝试从 .2 到 1.4 ),它对我有用。

为此,您必须转到 /Library/Preferences 并编辑 com.apple.iphonesimulator.plist >file。将 KEY SimulatorWindowLastScale 的值编辑为所需的比例。

我在最新版本的 Mountain Lion (10.8.4) 和 iOS 6.0 模拟器上试过这个。

https://apple.stackexchange.com/questions/62757/how-do-i-resize-the-ios-simulator

我在 10.8.x(使用其他模拟器设备)上对其进行了测试,但在 10.9.x 或 10.10 上没有

于 2014-10-08T13:43:38.017 回答
0

现在您可以在Xcode 6.3.1中缩小到实际分辨率的25%

  1. 在模拟器上运行你的应用程序
  2. 选择Window -> Scale(选择要缩放的百分比)

快捷键

Command Key + 1 : 100%
Command Key + 2 : 75%
Command Key + 3 : 50%
Command Key + 4 : 33%
Command Key + 5 : 25%

以上步骤的截图

于 2015-06-02T05:30:39.897 回答