UIView.AddMotionEffect(UIMotionEffect) メソッド

定義

指定したモーション効果をビューに追加します。

[Foundation.Export("addMotionEffect:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddMotionEffect (UIKit.UIMotionEffect effect);
abstract member AddMotionEffect : UIKit.UIMotionEffect -> unit
override this.AddMotionEffect : UIKit.UIMotionEffect -> unit

パラメーター

effect
UIMotionEffect

ビューに追加するモーション効果。

属性

注釈

このメソッドは、現在の UIView アニメーション コンテキストを使用して呼び出されると、指定したモーション 効果の値への切り替えをアニメーション化します。

適用対象