UIGestureRecognizer.PressesCancelled(NSSet<UIPress>, UIPressesEvent) UIGestureRecognizer.PressesCancelled(NSSet<UIPress>, UIPressesEvent) 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 UIPressesEvent

The UIPressesEvent describing the event.

Remarks

Developers who handle press events must implement this method.

Applies to