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

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -