Ios iphone6plus模拟器扩展

Ios iphone6plus模拟器扩展,ios,xcode,ios-simulator,xcode9,simulator,Ios,Xcode,Ios Simulator,Xcode9,Simulator,即使将iPhone6plus模拟器扩展到50%(没有比这更小的选项),它的尺寸仍然很大。 如何将其缩小到25%或更低 您可以将iOS模拟器扩展到desire scale(我尝试了0.2到1.4),它对我很有效 为此,您必须转到/Library/Preferences并编辑com.apple.iphonesimulator.plist>文件。编辑键模拟器WindowLastScale的值以达到所需比例 我在最新版本的Mountain Lion(10.8.4)和iOS 6.0模拟器上进行了尝试 (

即使将iPhone6plus模拟器扩展到50%(没有比这更小的选项),它的尺寸仍然很大。 如何将其缩小到25%或更低

您可以将iOS模拟器扩展到desire scale(我尝试了0.2到1.4),它对我很有效

为此,您必须转到/Library/Preferences并编辑com.apple.iphonesimulator.plist>文件。编辑键模拟器WindowLastScale的值以达到所需比例

我在最新版本的Mountain Lion(10.8.4)和iOS 6.0模拟器上进行了尝试

()


我在10.8.x(使用其他模拟器设备)上测试了它,但没有在10.9.x或10.10上测试,请在终端上运行:

默认写入~/Library/Preferences/com.apple.iphonesimulator模拟器WindowLastScale“0.4”

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

现在,您可以在Xcode 6.3.1中将分辨率降低到实际分辨率的25%

  • 在模拟器上运行你的应用程序
  • 选择窗口->缩放(选择要缩放的百分比)
  • 快捷键:


    我以前试过,但com.apple.iphonesimulator.plist不存在。
    Command Key + 1 : 100%
    Command Key + 2 : 75%
    Command Key + 3 : 50%
    Command Key + 4 : 33%
    Command Key + 5 : 25%