Once you add the Canvas it gives you the correct values in the Rect Transform component, rotating the simulator and swapping to different devices updates the Rect Transform accordingly
Edit: take note of the values before you hit “Scale with Screen Size”