Masonry 布局问题

[_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 布局问题)