UIGestureRecognizer.RemoveTarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RemoveTarget(UIGestureRecognizer+Token) |
Removes the callback method for the specified gesture being recognized, based on the token that was returned by AddTarget. |
RemoveTarget(NSObject, Selector) |
Low-level counterpart to the low-level AddTarget method. |
RemoveTarget(UIGestureRecognizer+Token)
Removes the callback method for the specified gesture being recognized, based on the token that was returned by AddTarget.
public void RemoveTarget (UIKit.UIGestureRecognizer.Token token);
member this.RemoveTarget : UIKit.UIGestureRecognizer.Token -> unit
Parameters
A Token returned by the AddTarget method.
Applies to
RemoveTarget(NSObject, Selector)
Low-level counterpart to the low-level AddTarget method.
[Foundation.Export("removeTarget:action:")]
public virtual void RemoveTarget (Foundation.NSObject target, ObjCRuntime.Selector action);
abstract member RemoveTarget : Foundation.NSObject * ObjCRuntime.Selector -> unit
override this.RemoveTarget : Foundation.NSObject * ObjCRuntime.Selector -> unit
Parameters
- action
- Selector
The name of the selector in the target object that was registered with AddTarget.
This parameter can be null
.
- Attributes