IOS iPad application bottom strange white area

感情迁移 提交于 2019-12-11 16:22:42

问题


I developed iPad tabbar application. I also use custom tabbar on left side. Bu Tab bar has white background along edges in landscape mode and also portrait mode. This area could not delete any of the method.


回答1:


It sounds like the sizes you're using in your nib file don't match the layout in your app. You'll need to set the autoresizing mask of your views so that they resize correctly at runtime.

You can change the autoresizing masks in the nib by opening the right-hand pane; selecting the icon that looks a bit like a ruler, and then clicking the red arrows. Here's a picture:

The important arrows are the ones in the second row; click them so they look like this:

Your view should then resize correctly.



来源:https://stackoverflow.com/questions/12405392/ios-ipad-application-bottom-strange-white-area

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!