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
Why don't allow updateConstraints to update multiplier? #386
Comments
@semiwhale thanks for this, unfortunately NSLayoutConstraint's API's do not allow updating the multiplier (you have to re-build the constraint from scratch) hence we cannot do it via SnapKit. SnapKit's update method is an optimised update, it only updates the |
label adaptive height on cell self is a view and self is a part of cell that i mean the view adaptive height is wrong self.addSubview(self.titleBtn) |
New Issue Checklist
Issue Info
Issue Description
fatal error: Updated constraint could not find existing matching constraint to update.
I looked at doc. I found:
firstItem, secondItem, firstAttribute, secondAttribute, relation, priority is enough to identify a constraint. Why don't allow updating multiplier?
The text was updated successfully, but these errors were encountered: