iOS Guides | Samples

MonoTouch.UIKit.UIGestureRecognizerDelegate Class

A class used to receive notifications from the UIGestureRecognizer class.

See Also: UIGestureRecognizerDelegate

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UIGestureRecognizerDelegate", false)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 3, 2, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIGestureRecognizerDelegate : NSObject, IUIGestureRecognizerDelegate, IDisposable

Remarks

This class can be used to fine-tune the UIGestureRecognizer's behavior.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIGestureRecognizerDelegate are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

ShouldBegin(UIGestureRecognizer) : Boolean
Whether the gesture recognition should begin.
ShouldBeRequiredToFailBy(UIGestureRecognizer, UIGestureRecognizer) : Boolean
Whether there is a dynamic failure requirement between the specified gesture recognizers.
ShouldReceivePress(UIGestureRecognizer, UIPress) : Boolean
ShouldReceiveTouch(UIGestureRecognizer, UITouch) : Boolean
Whether the recognizer should receive the specified touch.
ShouldRecognizeSimultaneously(UIGestureRecognizer, UIGestureRecognizer) : Boolean
Whether the two gesture recognizers should be allowed to recognize gestures simultaneously.
ShouldRequireFailureOf(UIGestureRecognizer, UIGestureRecognizer) : Boolean
Whether the specified gestureRecognizer should be required to fail by the otherGestureRecognizer.