How can I rotate the iOS simulator?

Kim Strasser 2,021 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?

Developer technologies | .NET | .NET MAUI
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,451 Reputation points Microsoft External Staff
    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.

    Update


    I reported the problem here: https://developercommunity.visualstudio.com/t/Rotating-the-iOS-simulator-is-not-workin/10706059?

    Rotating the simulator works on my iMac.

    Glad it works on your iMac. And thanks for your collaboration, please follow the progress and waiting for their update.

    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.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Hakeem A 80 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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.