I am trying to set up a click event for a label in Xamarin.Mac. I added an action to the label trough xib, but the event never seems to fire. Does anyone know how to accomplish this?
I would suggest reading this documentation:
and everything here in general:
as the Xcode designer integration is non-trivial to get right the first time.
Though in this specific case, searching for
"cococa nstextfield on click" gives
Thanks , but I’ve ben through the docs you suggested, but I’m a newbie and not sure how I would translate Cocoa to c#. It seems to me I need to setup a Gesture for the label field. I can do this in IOS apps, but can’t figure out how to accomplish this in a MacOS app. Any c# code sample would be extremely helpful.
Thanks for your suggestions.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies