开发者

Navigation image too short in landscape

In my iPhone app, I've put 开发者_StackOverflow社区an image sized 480 x 44 in the navigation bar, but when I change to landscape, the image becomes shorter. Please someone help me.


The image size is reduced because the navigation bar has a different size in landscape mode and it crops the portrait one (44px height).

Should be 32 pixels in height in landscape.


I would make 2 different versions of the image (landscape and portrait mode) and then implement -willAnimateRotationToInterfaceOrientation to select the appropriate version.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜