UIGestureRecognizer.PressesCancelled Method

Definition

Indicates a physical button-press event has been cancelled due to a system event.

[Foundation.Export("pressesCancelled:withEvent:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PressesCancelled (Foundation.NSSet<UIKit.UIPress> presses, UIKit.UIPressesEvent evt);
abstract member PressesCancelled : Foundation.NSSet<UIKit.UIPress> * UIKit.UIPressesEvent -> unit
override this.PressesCancelled : Foundation.NSSet<UIKit.UIPress> * UIKit.UIPressesEvent -> unit

Parameters

presses
NSSet<UIPress>

The set of UIPress objects involved in the event.

evt
UIPressesEvent

The UIPressesEvent describing the event.

Attributes

Remarks

Developers who handle press events must implement this method.

Applies to