Drew UI in Xcode . In portrait mode, it is displayed correctly. When I turn the screen, only on the left side (a little more than half) there are UI elements - on the right side there is a white background (that is, the default substrate).
Question: How to make sure that when you rotate the screen in the right part, it is also completely filled?
