[英]AutoLayout can’t display correctly in iOS10 with Xcode8
I use autolayout in a project of mine.All the constraints are blue and it can display correctly in configuration bar.But when I run my project on Simulator the constraints are wrong and it can't display correctly.I am searching for a long time on net. 我在我的项目中使用自动布局,所有约束均为蓝色,并且可以在配置栏中正确显示,但是当我在Simulator上运行项目时,约束错误并且无法正确显示,我正在搜索很长时间在网上。 But no use.
但是没用。 Please help or try to give some ideas how to achieve this.I really want to know how to solve the problem.It makes me very annoyed.I hope someone can help me.
请帮忙或尝试提供一些解决方法,我真的很想知道如何解决这个问题,这让我非常恼火,希望有人可以帮助我。
Thank you very much! 非常感谢你!
(Picture2 is what displays in simulator.The last picture is the constraints.) (图2是模拟器中显示的内容。最后一张图是约束。)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.