阅读背景:

将文本限制为行数3

来源:互联网 

I have to show some text in UILabel and append read more if the text goes beyond 3 number of lines. It works fine if I set number of lines = 3 and trim the text to 120 characters or so. But if the text contains newline character then this fails. and append




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: