You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the demo about UIScrollView,and I want to append a UIView a UIView after the UIScrollView init,like: I click a button,than there is a new UIView at the bottom of the UIScrollView. So I write the code like this:
@zkh90644 mas_updateConstraintsonly updates matching constraints in this case you did not previously have a bottom.equalTo(self.scrollView.lastBottom) so it's actually creating a new constraint and you have two constraints.
You'll need to use mas_remakeConstraints and recreate all of them to get this behavior.
I use the demo about UIScrollView,and I want to append a UIView a UIView after the UIScrollView init,like: I click a button,than there is a new UIView at the bottom of the UIScrollView. So I write the code like this:
But there still an error like
It means I didnot update my constraint after update.How to solve the problem?
The text was updated successfully, but these errors were encountered: