iOS Question get Rect for substring of text in Label

narek adonts

Well-Known Member
Licensed User
Longtime User
Upvote 0

narek adonts

Well-Known Member
Licensed User
Longtime User
Upvote 0

narek adonts

Well-Known Member
Licensed User
Longtime User
I managed to create an algorithm which checking which word is on which line but a got stuck on a word which is larger than the label width(is on multiple lines). If this last issue will be resolved we will have a full custom label Class which can handle clicks on specific string.

Please see attached the project.

Narek
 

Attachments

  • AttLabel.zip
    1.8 KB · Views: 142
Upvote 0
Top