iphone - Navigation Bar Height -


i have view whipped in interface builder has content , nav bar @ top. typically throughout iphone ui, when device rotated landscape, nav bars shorter (in height). however, mine stays same when rotated in orientation. quirk doing through ib or missing property somewhere? thanks!

your problem autoresizingmask of uinavigationbar you've added via ib. need change ib unfortunately (maybe bug) doesn't allow add uiviewautoresizingflexibleheight option. need programmatically,

navbar.autoresizingmask = uiviewautoresizingflexiblewidth | uiviewautoresizingflexibleheight | uiviewautoresizingflexiblebottommargin; 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -