0

I have a UILabel with attributed string in it. I want to attach click/tap event to one word in it. Is there a way to do it? The solution of using UIView instead of UILabel, as suggested at this question, does not fit to my case. I'm asking specifically about UILabel. Preferable not to use external libraries.

Community
  • 1
  • 1
Shai Givati
  • 1,106
  • 1
  • 10
  • 24

1 Answers1

1

it isnt publicly possible right now because the UILabel as opposed to a UITextView doesnt expose the internal text storage object

either switch to a textview or add a UIButton? ;)

Daij-Djan
  • 49,552
  • 17
  • 113
  • 135