Op Englesch liesen Editéieren

Deelen iwwer


UIView.GestureRecognizerShouldBegin(UIGestureRecognizer) Method

Definition

Determines if the specified gesture recognizers should be allowed to track touch events.

C#
[Foundation.Export("gestureRecognizerShouldBegin:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool GestureRecognizerShouldBegin (UIKit.UIGestureRecognizer gestureRecognizer);

Parameters

gestureRecognizer
UIGestureRecognizer

The gesture recognizer that is trying to transitioning out of the UIGestureRecognizerState's Possible state.

Returns

Attributes

Remarks

Override this method if your application handles touches directly, it controls whether an associated UIGestureRecognizer should execute or not.

Applies to

Produkt Versiounen
Xamarin iOS SDK 12