Masonry 布局问题
作者:
TsingQue | 来源:发表于
2017-10-11 11:41 被阅读12次[_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];
本文标题:Masonry 布局问题
本文链接:https://www.haomeiwen.com/subject/mqtwyxtx.html
网友评论