編輯

共用方式為


UIGestureRecognizer.PressesBegan(NSSet<UIPress>, UIPressesEvent) Method

Definition

Indicates that a physical button has been pressed on a remote or game controller.

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

Applies to