UIGestureRecognizerDelegate.ShouldReceivePress 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.
Developers may override this method to return false
, preventing from seeing .
[Foundation.Export("gestureRecognizer:shouldReceivePress:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldReceivePress (UIKit.UIGestureRecognizer gestureRecognizer, UIKit.UIPress press);
abstract member ShouldReceivePress : UIKit.UIGestureRecognizer * UIKit.UIPress -> bool
override this.ShouldReceivePress : UIKit.UIGestureRecognizer * UIKit.UIPress -> bool
Parameters
- gestureRecognizer
- UIGestureRecognizer
- press
- UIPress
Returns
The default value is true
.
- Attributes