Link:
- Adjusting the XCode iPhone simulator scale and size (then look for the answer by Kalpesh)
- How do I resize the iOS simulator? (then look for the answer by Neo)
How to do:
- Quit simulation if open.
- Open terminal (from spotlight for example, type terminal).
- Paste this next text to the terminal and press enter. Change the 0.4 to any scale you wish (with 0.4 equals to 40%).
defaults write ~/Library/Preferences/com.apple.iphonesimulator SimulatorWindowLastScale "0.4"
- Or alternatively, go to
/Library/Preferences
and editcom.apple.iphonesimulator.plist
file. Edit value for KEYSimulatorWindowLastScale
to desired scale.
I was learning about developing app for iOS. Everything went smoothly so far, except that the iOS simulator display iPhone 6 plus screen which is larger than my MacBook Air screen, even at 50% zoom. I’ve been searching so far on the internet and every answer always saying the same thing: to use CMD+1, CMD+2, CMD+3 shortcut to change the zoom, which is not enough for me. Then I came across this brilliant answer which requires some kind of console command to do, but it did the job. But beware, the simulation display result might be a little jaggy.