开发者

iOS: landscape to portrait resized not to full

I have a navigation bar at the top of my nib, followed by a toolbar, and a webview. This is all vertically.

I basically implemented an in app browser.

If I launch my browser in portrait mode and switch to landscape. Everything works fine.

However, if I launch it in landscape mode, a portion of the right hand size is missing.

and when I switch from landscape to portrait mode, the right portion is still missing.

I think if I fixed the way it launches开发者_如何学编程 in landscape mode, it will be fixed.

How do I put interface builder in landscape mode/solve my problem?


Please check whether the autosizing settings are correct for your navigation bar? I think typically it should have flexible left margin, flexible width and also flexible right margin.


You check your nib and set the autosize of toolbar navigation bar and webview and then run and try I think that will work fine.Just try and confirm us.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜