@molon 感谢MLEmojiLabel库。有个问题请教,我用masonry给label加了约束,但没有显示出来,
[_tipLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.contentView).offset(15);
make.top.equalTo(self.contentView).offset(5);
make.right.equalTo(self.contentView).offset(-15);
make.height.equalTo(@40);
}];
用frame的方式可以,
_tipLabel.frame = CGRectMake(15, 5, self.contentView.width - 30, 40);
@molon 感谢MLEmojiLabel库。有个问题请教,我用masonry给label加了约束,但没有显示出来,
用frame的方式可以,
_tipLabel.frame = CGRectMake(15, 5, self.contentView.width - 30, 40);