I searched a while but can’t figure out how to add an action on a label with MonoDevelop.
Normally you have the choice between, action, outlet.. But with a label it’s only available to add an outlet.
So here my question is it possible just to add an event when the users clicks on the label? If yes, how can you do it?
(My backup plan is juist to change the labels into buttons (with the same look and feel) but want to stay with my labels .. )
thx in advance
With
UILabelyou can useUITapGestureRecognizerto achieve this-//Now you can define action in myAction method.
Hope it clears.