LTTemplateLayoutItem icon indicating copy to clipboard operation
LTTemplateLayoutItem copied to clipboard

文字高度往往显示不完整

Open ETmanwenhan opened this issue 7 years ago • 0 comments

self.msgLable.numberOfLines = 0;

已经设置了不限制文字行数,但是有部分文字就是显示不完整,这是为什么呢?是Cell高度缓存问题吗?

这个问题是:preferredMaxLayoutWidth 设置问题 CGFloat item = ([[UIScreen mainScreen] bounds].size.width - (2 -1) * 10) / 2; self.msgLable.preferredMaxLayoutWidth = item - 10 - 12 - 12;

ETmanwenhan avatar Aug 20 '17 02:08 ETmanwenhan