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
Post a Comment