Re: Add overflow indicator to text

Steve Mills

On Nov 9, 2017, at 13:39:20, Alex Zavatone <zav@...> wrote:

myLabel.lineBreakMode = NSLineBreakByTruncatingTail;
I'm not sure where my brain was, but I totally blanked this out and was too focused on trying to roll my own. This works just fine in my scenario, even when oddly shaped exclusionPaths are applied. The only time it doesn't work is when I have a rotation xform applied to the UITextView - the truncation ellipsis doesn't appear.

Steve Mills
Drummer, Mac geek

Join to automatically receive all group messages.