편집

다음을 통해 공유


IUIGestureRecognizerDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UIGestureRecognizerDelegate.

[Foundation.Protocol(Name="UIGestureRecognizerDelegate", WrapperType=typeof(UIKit.UIGestureRecognizerDelegateWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIGestureRecognizerDelegate : IDisposable, ObjCRuntime.INativeObject
type IUIGestureRecognizerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIGestureRecognizerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIGestureRecognizerDelegate protocol.

Optional methods (if any) are provided by the UIGestureRecognizerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

ShouldBegin(IUIGestureRecognizerDelegate, UIGestureRecognizer)

Whether the gesture recognition should begin.

ShouldBeRequiredToFailBy(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

Whether there is a dynamic failure requirement between the specified gesture recognizers.

ShouldReceivePress(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIPress)
ShouldReceiveTouch(IUIGestureRecognizerDelegate, UIGestureRecognizer, UITouch)

Whether the recognizer should receive the specified touch.

ShouldRecognizeSimultaneously(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

Whether the two gesture recognizers should be allowed to recognize gestures simultaneously.

ShouldRequireFailureOf(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

Whether the specified gestureRecognizer should be required to fail by the otherGestureRecognizer.

Applies to