UIKit.UIGestureRecognizer.AddTarget Method
Registers a new callback for when the gesture has been recognized.

Syntax

public UIGestureRecognizer.Token AddTarget (Action<Foundation.NSObject> action)

Parameters

action
The method to invoke when the gesture has been recognized.

Returns

The returned token can be used later to remove this particular action from being invoked by the gesture recognizer using the UIGestureRecognizer.RemoveTarget method.

Remarks

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0