(Case 1298780) SafeArea in Simulator seems to be wrong

When I rotate the screen in the Simulator window, it seems the SafeArea becomes incorrect. Depending on whether the phone is up-side-down there is a gap where I would expect no gap to be.

Reproduce

  • Open attached project
  • In GameView switch dropdown from “Game” to “Simulator”
  • Select Apple iPhone 11 in list
  • Turn on SafeArea
  • Rotate the screen

Actual
The SafeArea changes if the screen is up-side-down.

Expected
SafeArea should be consistent.

Is that because newer iPhones don’t have the up-side-down rotation? The scene in your video is also still in landscape mode, so the gap is for the home button (the one shown in 0:18).

I mean to me it looks as I would expect it to work.

3 Likes

I think Yozaro is correct, it seems like it’s still switched to landscape (look at the horizon of the skybox), in which case the SafeAreas are correct.

You’re probably right, that makes sense!