Closed anyuhao closed 7 years ago
demo 也会出现这种情况.
今天做的时候也发现这个情况,希望大大看一看.....
+1;iOS 10.3 默认会添加对应的宽度约束,从而导致了约束冲突。希望能针对系统版本进行去掉默认约束处理来解决此问题
+1约束冲突看着真揪心
看来不是我一个人遇到了。QAQ
所以解决方法是?
解决方法呢
同样的问题。。。
同样的问题
同样的问题
一开始还以为是masonry问题,后来发现是这个。
界面看着没有问题,但是控制台一直报冲突 这该怎么解决呢?
@ @KenmuHuang 针对系统版本进行去掉默认约束怎么去掉?
Same as #291
demo 有会出现这种情况
cell. UITableViewCellContentView.width = 0 与 cell. UITableViewCellContentView.width = 375 (对应的最大宽度) MAXWidth 冲突
FDTemplateLayoutCell layout cell created - FDFeedCell 2017-04-05 15:14:53.986190+0800 Demo[4230:1055755] [LayoutConstraints] 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 unwanted constraint or constraints and fix it. ( "<NSLayoutConstraint:0x174085eb0 UITableViewCellContentView:0x100422b60.width == 341 (active)>", "<NSLayoutConstraint:0x17008f5a0 'UIView-Encapsulated-Layout-Width' UITableViewCellContentView:0x100422b60.width == 0 (active)>" )