欢迎使用Markdown编辑器写博客
lessThanOrEqualTo
需求:
- 水平排列三个控件,左右宽度固定,中间宽度可被压缩
[self.midLab mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.leftLab.mas_right);
make.top.equalTo(self.view.mas_safeAreaLayoutGuideTop).offset(100);
make.right.lessThanOrEqualTo(self.rightLab.mas_left);
}];