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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -