开发者

iPhone Horizontal NavBar Height?

Can someone tell me the pixel height of the iPhone navBar, when y开发者_开发技巧ou turn the phone Horizontal?

I know this is a basic question but I cannot locate the answer.

Thank You.


You shouldn't rely on hard coded values when dealing with UI sizing. Especially now that the [large-iPod-type-device] is on it's way.

You can get the height of the bar by querying its frame.

something along the lines of:

navigationController.navigationBar.frame.size.height;

will return the bar's height.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜