IOS iPad application bottom strange white area

2019-08-19 18:17发布

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.

iPad bottom

1条回答
叼着烟拽天下
2楼-- · 2019-08-19 18:39

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:

enter image description here

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

Interface builder

Your view should then resize correctly.

查看更多
登录 后发表回答