Builder interface Simulated user interface elements erroneously relate to terrain

Has anyone noticed that on the iPhone, when the device goes into landscape orientation, the top navigation bar redraws a bit?

And that the elements of the Interface Builder simulation user interface do not seem to know this and maintain the same height of the navigation bar in both portrait and landscape modes. This is annoying because the end position of the user interface elements becomes different in IB and at startup.

Is it possible to add a "user" element of a simulated user interface? (e.g., Landscape navigation bar, as original, but thinner)

+5
source share
1 answer

I think this is because you did not set the stretch property for the navigation bar. Think this is the third or fourth tab in the property inspector. By default, their vertical height remains the same .. you need to change this height property.

0
source

All Articles