UIKit.UIGestureRecognizer: Method Members

The methods of UIKit.UIGestureRecognizer are listed below. For a list of all members, see the UIGestureRecognizer Members list.

See Also: Inherited members from Foundation.NSObject

Public Methods

AddTarget(Action) : UIGestureRecognizer.Token
Registers a new callback for when the gesture has been recognized.
AddTarget(Action<Foundation.NSObject>) : UIGestureRecognizer.Token
Registers a new callback for when the gesture has been recognized.
AddTarget(Foundation.NSObject, ObjCRuntime.Selector)
Low-level version of AddTarget.
CanBePreventedByGestureRecognizer(UIGestureRecognizer) : bool
When overridden, allows the specified UIGestureRecognizer to prevent this UIGestureRecognizer from recognizing a gesture.
CanPreventGestureRecognizer(UIGestureRecognizer) : bool
When overridden, indicates that this UIGestureRecognizer can prevent the specified UIGestureRecognizer from recognizing a gesture.
IgnoreTouch(UITouch, UIEvent)
Ignores a specific touch of the given event.
LocationInView(UIView) : CoreGraphics.CGPoint
The PointF in the given UIView of the gesture represented by this UIGestureRecognizer.
LocationOfTouch(UIView, nint) : CoreGraphics.CGPoint
The location, in the local coordinate system of the UIView, of one of the gesture's touches.
RemoveTarget(UIGestureRecognizer.Token)
Removes the callback method for the specified gesture being recognized, based on the token that was returned by AddTarget.
RemoveTarget(Foundation.NSObject, ObjCRuntime.Selector)
Low-level counterpart to the low-level AddTarget method.
RequireGestureRecognizerToFail(UIGestureRecognizer)
Causes this UIGestureRecognizer to only work if the specified UIGestureRecognizer fails (e.g., a single-tap gesture might require that a double-tap gesture fail).
Reset()
When overridden, allows the application developer to reset internal state when a gesture is recognized.
ShouldBeRequiredToFailByGestureRecognizer(UIGestureRecognizer) : bool
Specifically overridden to indicate that a receiver requires the specified gesture recognizer to fail.
ShouldRequireFailureOfGestureRecognizer(UIGestureRecognizer) : bool
Documentation for this section has not yet been entered.
TouchesBegan(Foundation.NSSet, UIEvent)
Indicates that one or more fingers have touched down in the associated UIView.
TouchesCancelled(Foundation.NSSet, UIEvent)
Indicates that a system event (e.g., a low-memory warning) has cancelled the touch event.
TouchesEnded(Foundation.NSSet, UIEvent)
Indicates that one or more fingers have lifted in the associated UIView.
TouchesMoved(Foundation.NSSet, UIEvent)
Indicates that one or more fingers have moved in the associated UIView.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIGestureRecognizer object.