14
自动布局:是什么创建名为UIView-Encapsulated-Layout-Width&Height的约束?
我的布局约束在Interface Builder中很好,但是由于框架的某些部分应用了我确实不希望的固定高度和宽度约束,因此在运行时发生了异常。他们为什么在那里,以及如何将它们关闭? 它们是已记录列表中显示的最后两个约束: 2014-04-26 09:02:58.687 BBCNews[32058:60b] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the …