iOS12 mas_remakeConstraints does not remove all installed constraints
gx921016 opened this issue Β· comments
New Issue Checklist
π« If this template is not filled out your issue will be closed with no comment. π«
- I have looked at the Documentation
- I have filled out this issue template.
Issue Info
Info | Value |
---|---|
Platform | e.g. ios/osx/tvos |
Platform Version | e.g. 8.0 |
Masonry Version | e.g. 1.0 |
Integration Method | e.g. carthage/cocoapods/manually |
[self.tf_text mas_remakeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(weakSelf).with.offset(115);
make.centerY.equalTo(weakSelf);
make.right.equalTo(weakSelf).with.offset(-15);
make.top.and.bottom.equalTo(weakSelf);
}];
[self.tf_text mas_remakeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(weakSelf).with.offset(115);
make.centerY.equalTo(weakSelf);
make.right.equalTo(weakSelf).with.offset(-45);
make.top.and.bottom.equalTo(weakSelf);
}];