編集

次の方法で共有


UIResponder.MotionBegan(UIEventSubtype, UIEvent) Method

Definition

Method invoked when a motion (a shake) has started.

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

Parameters

motion
UIEventSubtype

Event-subtype that specifies the kind of motion.

evt
UIEvent

UIEvent describing the specified motion..

This parameter can be null.

Attributes

Remarks

In particular, UIView bubbles the events up the responder chain.

Applies to