This question already has an answer here:
- How to resize the iPhone/iPad Simulator? 10 answers
I am working on a Philips 19" and upgraded Xcode to version 4.3.2. On the new "Retina Display" on iPad 3 (oh, sorry, on The New iPad) my iPad simulator changes it's resolution and the simulator has vertical and horizontal scroll bars!
How do I change the resolution of the an iOS simulator?
You can enable the retina display using - Hardware -> Device -> iPad
You can press
cmd
+ 1 orcmd
+ 2 orcmd
+ 3 to change the size of the simulator. It will load the retina images but use a smaller simulator so you don't have to scroll for your testing.In the menu bar:
Hardware -> Device -> iPad
You can also in Simulator -> Window to choose the Physical Size, which will make the size as large as the iPhone physical size:
The shortcut key is Cmd + 1
In addition to the
cmd+1
,cmd+2
andcmd+3
options underWindow->Scale
that zoom to 100%, 75% and 50% respectively, you can also kind of do a custom zoom amount by setting a custom preference. Namely, try setting theSimulatorWindowLastScale
preference in thecom.apple.iphonesimulator.plist
file under~/Library/Preferences
directory. Running the following command in a terminal worked for me to be able to see the full screen of an iPad Air with iOS Simulator 8.2:defaults write ~/Library/Preferences/com.apple.iphonesimulator SimulatorWindowLastScale "0.4"
See also https://apple.stackexchange.com/a/93313
The following hotkeys should be helpful:
Look at menu: "Window --> Scale" to see the options.