2014-10-08 63 views

回答

17

運行此在終端:

默認寫入〜/ Library/Preferences/com.apple.iphonesimulator SimulatorWindowLastScale「0.4」

您可能會根據自己的喜好改變「0.4」。然後,在模擬器中,hardware-> devices-> iphone 6 plus。

+1

太好了,謝謝。 – 2014-10-31 12:15:32

0

您可以縮放的iOS模擬器渴望規模(我試過從1.2至1.4),它爲我工作。

要做到這一點,你必須去/ Library/Preferences並編輯com.apple.iphonesimulator.plist>文件。編輯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

+1

我嘗試這樣做之前,但com.apple.iphonesimulator.plist不存在。 – 2014-10-09 06:18:51

0

現在你可以規模下實際分辨率的25%的Xcode 6.3.1

  1. 運行你的應用程序在模擬器
  2. 選擇窗口 - >比例(百分之選擇要縮放)

快捷鍵

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

Screenshot for above steps

+0

完美...........! – GvSharma 2015-08-12 18:12:52

+0

完美修復...! +1 – 2015-10-07 13:50:15

相關問題