即使将iPhone 6 Plus模拟器缩放到50%(没有比此更小的缩放选项),其大小仍然很大,难以使用。
我该如何将其缩小至25%或更小?
在终端中运行以下命令:
defaults write ~/Library/Preferences/com.apple.iphonesimulator SimulatorWindowLastScale "0.4"
你可以根据自己的喜好更改"0.4"的值。然后,在模拟器中,选择硬件->设备->iPhone 6 Plus。
现在你可以在 Xcode 6.3.1 中将分辨率缩小至实际分辨率的 25%
快捷键:
Command Key + 1 : 100%
Command Key + 2 : 75%
Command Key + 3 : 50%
Command Key + 4 : 33%
Command Key + 5 : 25%
(https://apple.stackexchange.com/questions/62757/how-do-i-resize-the-ios-simulator)
我在10.8.x上对其进行了测试(使用其他模拟器设备),但未在10.9.x或10.10上进行测试