Closed jairobjunior closed 10 years ago
Have you tried setting lineBreakMode to NSLineBreakByWordWrapping? The issue here is that numberOfLines is being ignored, because Core Text doesn't support it natively.
lineBreakMode
NSLineBreakByWordWrapping
numberOfLines
Yeah, I just tested here and it works using WordWrapping. I just need to programming the same behavior of TruncanteTail("..."). Thanks.
Have you tried setting
lineBreakMode
toNSLineBreakByWordWrapping
? The issue here is thatnumberOfLines
is being ignored, because Core Text doesn't support it natively.