How can I rotate the iOS simulator?

Kim Strasser 816 Reputation points
2024-07-17T11:55:26.3633333+00:00

Only the screen of the simulator rotates instead the entire simulator when I click on the rotate buttons:

Screenshot 2024-07-17 113614

Is it possible to rotate the entire simulator?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,200 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hakeem A 0 Reputation points
    2024-07-17T13:45:13.1466667+00:00

    Here's how to rotate the iOS Simulator:

    Launch the Simulator: Open the iOS Simulator from Xcode by navigating to Xcode > Open Developer Tool > Simulator or simply search for "Simulator" in Spotlight (Cmd + Space).

    Rotate Device: In the Simulator window, you can rotate the device using the menu options or keyboard shortcuts:

    Menu option: Click Hardware in the Simulator menu bar, then select "Rotate Left" or "Rotate Right".

    Keyboard shortcuts: Use Cmd + Left Arrow to rotate left or Cmd + Right Arrow to rotate right.

    0 comments No comments

  2. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,041 Reputation points Microsoft Vendor
    2024-07-18T05:20:34.2766667+00:00

    Hello,

    I reproduced your issue with the latest VS. For this, please report a problem with VS, see Report a problem with Visual Studio - Visual Studio (Windows) | Microsoft Learn

    How can I rotate the iOS simulator?

    Please test this feature on your Mac directly.

    Detail steps:

    Open VS on your Windows machine, go to Tools->Options->Xamarin->iOS Settings, then uncheck Remote Simulator to Windows.

    After that, you can run your app on a simulator, and rotate the simulator on your Mac.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.