I have a view that I whipped up in Interface Builder which has some content and a nav bar at the top. Typically throughout the iPhone UI, when the device is rotated to landscape, the nav bars get slightly shorter (in height). However, mine stays the same when rotated in any orientation. Is this some quirk about doing it through IB or am I missing a property somewhere? Thanks!
Share
Your problem is the
autoresizingMaskof theUINavigationBarthat you’ve added via IB. You need to change it but IB unfortunately (maybe a bug) doesn’t allow us to add theUIViewAutoresizingFlexibleHeightoption. So you will need to do it programmatically,