切换到横向模式时查看布局冲突

发布于 2024-12-17 06:37:05 字数 444 浏览 4 评论 0原文

我的 iOS 应用程序有问题...

这是纵向模式下的样子,很正常,没什么不好的。 在此处输入图像描述

这是横向模式下的样子。

在此处输入图像描述

分段控件下方的视图过度增长,覆盖了分段控件。

我尝试更改尺寸检查器中的设置,我能做的最好的事情是: 在此处输入图像描述

仍然不是我想要的(现在分段控件下方的白色条纹覆盖了视图,但我仍然不这样做)不知道它是从哪里来的)。

如果有人能帮助我使横向视图与纵向视图类似,关于分段控制,我将非常感激 - >查看事物。

I have a problem with my iOS application ...

This is what it looks like in portrait mode, pretty normal, nothing bad I could say.
enter image description here

This is what it looks like in landscape mode.

enter image description here

The view beneath the segmented control overgrows, covering the segmented control.

I tried to change the settings in the size inspector and the best thing I could do is this:
enter image description here

Still not what I wanted (now white stripe beneath the segmented control covers the view, and I still don't know where it came from).

I would really appreciate if someone could help me make the landscape view similar to the portrait one, regarding the segmented control - > view thing.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

从﹋此江山别 2024-12-24 06:37:05

你将不得不使用自动调整大小......
自动调整大小的教程可以在这里找到:
http:// www.edumobile.org/iphone/iphone-beginner-tutorials/how-to-use-autorotation-and-autosizing-in-iphone/

you will have to use autosizing ...
tutorial for autosizing can be found here :
http://www.edumobile.org/iphone/iphone-beginner-tutorials/how-to-use-autorotation-and-autosizing-in-iphone/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文