UIView.AnimateNotify メソッド

定義

オーバーロード

AnimateNotify(Double, Double, UIViewAnimationOptions, Action, UICompletionHandler)

指定したアクションで行われるプロパティの変更をアニメーション化し、アニメーションの完了時に完了コールバックを呼び出します。

AnimateNotify(Double, Double, nfloat, nfloat, UIViewAnimationOptions, Action, UICompletionHandler)

物理スプリングのアクティビティに対応するタイミング曲線を使用するビュー アニメーションを実行します。

AnimateNotify(Double, Action, UICompletionHandler)

指定したアクションで行われるプロパティの変更をアニメーション化します。

AnimateNotify(Double, Double, UIViewAnimationOptions, Action, UICompletionHandler)

指定したアクションで行われるプロパティの変更をアニメーション化し、アニメーションの完了時に完了コールバックを呼び出します。

[Foundation.Export("animateWithDuration:delay:options:animations:completion:")]
public static void AnimateNotify (double duration, double delay, UIKit.UIViewAnimationOptions options, Action animation, UIKit.UICompletionHandler completion);
static member AnimateNotify : double * double * UIKit.UIViewAnimationOptions * Action * UIKit.UICompletionHandler -> unit

パラメーター

duration
Double

アニメーションの継続時間 (秒)。

delay
Double

アニメーションが開始されるまでの遅延。

options
UIViewAnimationOptions

アニメーション オプション

animation
Action

ビューに適用する変更を含むコード。

completion
UICompletionHandler

アニメーションが完了したときに呼び出すメソッド。

このパラメーターは、null に設定できます。

属性

注釈

このメソッドの使用はお勧めしません。 アプリケーション開発者は、 クラスを使用 UIViewPropertyAnimator して UIView をアニメーション化する必要があります。

適用対象

AnimateNotify(Double, Double, nfloat, nfloat, UIViewAnimationOptions, Action, UICompletionHandler)

物理スプリングのアクティビティに対応するタイミング曲線を使用するビュー アニメーションを実行します。

[Foundation.Export("animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void AnimateNotify (double duration, double delay, nfloat springWithDampingRatio, nfloat initialSpringVelocity, UIKit.UIViewAnimationOptions options, Action animations, UIKit.UICompletionHandler completion);
static member AnimateNotify : double * double * nfloat * nfloat * UIKit.UIViewAnimationOptions * Action * UIKit.UICompletionHandler -> unit

パラメーター

duration
Double

アニメーションの継続時間 (秒)。

delay
Double

アニメーションが開始されるまでの遅延。

springWithDampingRatio
nfloat

静止状態に近づくとき、スプリング アニメーションの減衰比が設定されます。 スプリング効果に適用する減衰量を表す 0 ~ 1 の値。

initialSpringVelocity
nfloat

取り付け前の初期ばね速度。 ばねの初期速度 (1 秒あたりのポイント数)。

options
UIViewAnimationOptions

アニメーション オプション。

animations
Action

ビューに適用する変更を含むコード。

completion
UICompletionHandler

アニメーションが完了したときに呼び出すメソッド。

このパラメーターは、null に設定できます。

属性

注釈

このメソッドの使用はお勧めしません。 アプリケーション開発者は、 クラスを使用 UIViewPropertyAnimator して UIView をアニメーション化する必要があります。

適用対象

AnimateNotify(Double, Action, UICompletionHandler)

指定したアクションで行われるプロパティの変更をアニメーション化します。

[Foundation.Export("animateWithDuration:animations:completion:")]
public static void AnimateNotify (double duration, Action animation, UIKit.UICompletionHandler completion);
static member AnimateNotify : double * Action * UIKit.UICompletionHandler -> unit

パラメーター

duration
Double

アニメーションの継続時間 (秒)。

animation
Action

ビューに適用する変更を含むコード。

completion
UICompletionHandler

アニメーションが完了したときに呼び出すメソッド。

このパラメーターは、null に設定できます。

属性

注釈

このメソッドの使用はお勧めしません。 アプリケーション開発者は、 クラスを使用 UIViewPropertyAnimator して UIView をアニメーション化する必要があります。

適用対象