IOS iPad应用底部奇怪的白色区域 [英] IOS iPad application bottom strange white area

查看:357
本文介绍了IOS iPad应用底部奇怪的白色区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了iPad tabbar应用程序。我还在左侧使用自定义标签栏。 Bu标签栏在横向模式和纵向模式下沿边缘具有白色背景。此区域无法删除任何方法。

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.

推荐答案

听起来您在nib文件中使用的尺寸与应用中的布局不匹配。您需要设置视图的自动调整遮罩,以便它们在运行时正确调整大小。

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.

这篇关于IOS iPad应用底部奇怪的白色区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆