I have a dynamically created list of labels and I am using GestureRecognizer
for each of the labels to detect touches/click on them. I couldn't use UIButton
as I wanted to pass some text which is unique to each label to the touch event handler and UIButton
would not allow text to be passed as userinfo
. I cannot use UIButton.tag
to pass the additional info.
Now I want the UIButton
like glow effect on touch on my UIlabel
. If there are other ways to notify a user that a label was touched, that work too. I was alo thinking of using some kind of quick animation or jiggling effect. Any ideas or workarounds?
Thanks in advance.