Share via


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描述事件的 。

屬性

適用於