[英]Xcode5 Storyboard Issue - UILabel position Designtime and Runtime
How can i fix this Issue ? 我该如何解决这个问题? The
UILabel
of my UIViewController
has different positions during designtime (Storyboard) and runtime. 我的
UIViewController
的UILabel
在设计时(Storyboard)和运行时期间有不同的位置。 My App Runs in Landscape Orientation. 我的应用程序在横向方向上运行。
I've set the UIViewController
also in Orientation Landscape but it doesn't matter. 我也在Orientation Landscape中设置了
UIViewController
,但这并不重要。
1. Storybord 1. Storybord
2. Runtime 2.运行时
How can i fix this. 我怎样才能解决这个问题。 I want to have the same postion in Runtime as in Storyboard
我想在Runtime中使用与Storyboard中相同的位置
Thanks for your support 谢谢你的支持
In storyboard uncheck your Extend Edges Under Top Bars
of your viewController, 在storyboard中,取消选中viewController
Under Top Bars
的Extend Edges,
Or 要么
Check your autolayout Constraints for that label. 检查该标签的自动布局约束。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.