34

How can I rotate the iPhone simulator to landscape? I have read many items of information, and none of them has helped me yet. I am using xcode 4, and am developing an iphone application. Thanks!

PengOne
  • 48,188
  • 17
  • 130
  • 149
Trapshooter161
  • 430
  • 1
  • 5
  • 10

5 Answers5

91

Option 1: Use the left/right arrow keys while holding down command.

Option 2: Under the Hardware tab at the top, select "Rotate Left" or "Rotate Right".

PengOne
  • 48,188
  • 17
  • 130
  • 149
  • At the top was missing in every other answer for option 2. thanks ! – Edwin O. Aug 08 '15 at 19:24
  • 1
    This is not working anymore on macOS 10.14.6 with Xcode 10.3 – duongel Aug 23 '19 at 09:19
  • 1
    If keyboard shortcuts aren't working for you, ensure that double check that Simulator > Hardware > Keyboard > Send Keyboard Shortcuts to Device is unchecked. I mistakenly thought that these shortcuts had been removed but this setting disables them. – Uze Sep 24 '19 at 16:25
  • If you are using Windows (xamarin) then use Alt+Left/Right keys to rotate the simulator on Windows. – AZ_ Apr 06 '20 at 07:46
  • It won't work if your have both of these options turned on: Simulator > Hardware > Keyboard > Send Keyboard Shortcuts to Device Simulator > Hardware > Keyboard > Connect Hardware Keyboard Turn one or both off and it should start working. Additional info on what @Uze said. :) – Will Apr 23 '20 at 01:14
  • is there any feature to flip screen on iphone? – Keigo Igarashi Jul 31 '21 at 14:25
5

For windows keyboard users, windows key + right/left arrow

Buddy
  • 79
  • 1
  • 7
1

Just press

Command + Arrow 

key to rotate screen.

0

You can rotate the screen with alt + cmd and the mouse

Jorge Casariego
  • 21,948
  • 6
  • 90
  • 97
0

just click on the opened simulator and do:

command + right arrow

from keyboard.