UIView.GestureRecognizerShouldBegin(UIGestureRecognizer) 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.
Determines if the specified gesture recognizers should be allowed to track touch events.
[Foundation.Export("gestureRecognizerShouldBegin:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool GestureRecognizerShouldBegin (UIKit.UIGestureRecognizer gestureRecognizer);
abstract member GestureRecognizerShouldBegin : UIKit.UIGestureRecognizer -> bool
override this.GestureRecognizerShouldBegin : UIKit.UIGestureRecognizer -> bool
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.