Share via


UIResponder.MotionCancelled(UIEventSubtype, UIEvent) 方法

定義

如果作業系統取消動作, (震動) 事件時叫用的方法。

[Foundation.Export("motionCancelled:withEvent:")]
public virtual void MotionCancelled (UIKit.UIEventSubtype motion, UIKit.UIEvent evt);
abstract member MotionCancelled : UIKit.UIEventSubtype * UIKit.UIEvent -> unit
override this.MotionCancelled : UIKit.UIEventSubtype * UIKit.UIEvent -> unit

參數

motion
UIEventSubtype

指定動作種類的事件子類型。

evt
UIEvent

描述指定動作的 UIEvent。

這個參數可以是 null

屬性

適用於