Is it possible to change orientation without rotating the device? I was planning to create an app that identifies the device if it is a tab or a phone. In order for this to be possible, the solution I found was to check the contentScaleY if it is less than or equal to 1, change to portrait if it’s equal to 1 or change to landscape if it’s less than, then lock that orientation. Or is there a better way to do it?