iOS UILabel显示两行文字,多余两行显示...

label.lineBreakMode = NSLineBreakByTruncatingTail;
label.numberOfLines = 2;

你可能感兴趣的:(iOS UILabel显示两行文字,多余两行显示...)