ios - How to get the UILabel last index before dots with NSLineBreakByTruncatingTail? -
i have uilabel has static 3 lines. it's linebreakmode nslinebreakbytruncatingtail.
so if there long text contains on 3 lines, label show "..." in tails.
how can last character or index before "..."? example:
"there long long long long long long long long long long words ..." i want know "s" index.
Comments
Post a Comment