I have a UILabel
with an attributed string, where the content text is e.g. "abcdefghijklmnopqrstuvwxyz"
, and and the numberOfLines
property is 2
. For this scenario the label displays as follows (truncating the tail of the string):
abcdefghijkl
mnopqrstu...
Is there a way to request displayed "abcdefghijklmnopqrstu..."
string instead of the whole original one? The content is mixed with English, Chinese, emoji, etc...