I am using a UILabel
and setting its attributed text.
I want to add tap gesture to part of string rather than part of label. Because my UILabel
is a multiline one.
I can't add gesture to part of label.
How can I add gesture to part of string. For example:
lblObject.text = @"Hi Abdul, did you see my BACKBONE book."
I want to add gesture to BACKBONE text only.
I want to add tap gesture to the underlined text .
Both the red box are a single text in two different lines.