UILabel *label
label.numberOfLines = 1;
label.text = @"abc\nabc";
label.lineBreakMode = NSLineBreakByTruncatingTail;
display as: abc expected: abc... I've tried to set attributed text and set line break mode in paragraph attribute, did not work either -_-//
Add: if replace '\n' character with text over one line, then it displays as well. Such as: set label width 100pt, set text 'abcabcabcabcabcbacb' and blabla more than one line, display as 'abcabcabcabca...'.
So if the text able to be truncated is related to the key char '\n'.