Masonry 布局问题
2017-10-11 本文已影响12人
TsingQue
[_contentLab mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(_titleLab.mas_right).offset(0.0f);
make.top.equalTo(self.mas_top).offset(0.0f);
make.right.equalTo(self.mas_right).offset(0.0f);
make.bottom.equalTo(self.mas_bottom).offset(0.0f);
}];
[_contentLab setContentCompressionResistancePriority:200 forAxis:UILayoutConstraintAxisHorizontal];
[_contentLab setContentHuggingPriority:200 forAxis:UILayoutConstraintAxisHorizontal];