Saturday, 7 September 2013

Detect a perticular string in UILabel

Detect a perticular string in UILabel

I am new to iOS development. I dont know whether this questions has been
asked already or not, I tried searching for the solution on stackoverflow
but didn't get any results.
Question :
I have a UILabel called myLabel with the text: "Click here to proceed"
Now the problem is I want to perform an action when user taps only "Click".
I know how to use UITapGestureRecognizer, but it responds to the whole
UILabel. Is it possible to just detect when user taps only on string
"Click"?

No comments:

Post a Comment