切换到横向模式时查看布局冲突
我的 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.
This is what it looks like in landscape mode.
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:
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你将不得不使用自动调整大小......
自动调整大小的教程可以在这里找到:
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/