-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10.3下报 约束冲突,所有cell都有这种情况 #292
Comments
demo 也会出现这种情况. |
今天做的时候也发现这个情况,希望大大看一看..... |
+1;iOS 10.3 默认会添加对应的宽度约束,从而导致了约束冲突。希望能针对系统版本进行去掉默认约束处理来解决此问题 |
+1约束冲突看着真揪心 |
看来不是我一个人遇到了。QAQ |
所以解决方法是? |
解决方法呢 |
同样的问题。。。 |
同样的问题 |
1 similar comment
同样的问题 |
一开始还以为是masonry问题,后来发现是这个。 |
界面看着没有问题,但是控制台一直报冲突 这该怎么解决呢? |
@ @KenmuHuang 针对系统版本进行去掉默认约束怎么去掉? |
Same as #291 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)>"
)
The text was updated successfully, but these errors were encountered: