UIResponder.PressesBegan(NSSet<UIPress>, UIPressesEvent) 方法

定义

指示已在遥控器或游戏控制器上按下物理按钮。

[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

参数

presses
NSSet<UIPress>

事件中涉及的对象 UIPress 集。

evt
UIPressesEvent

UIPressesEvent描述事件的 。

属性

适用于