Edytuj

Udostępnij za pośrednictwem


UIView.SetAnimationDuration(Double) Method

Definition

Sets the duration for this animation transaction.

[Foundation.Export("setAnimationDuration:")]
public static void SetAnimationDuration (double duration);
static member SetAnimationDuration : double -> unit

Parameters

duration
Double

Duration in seconds.

Attributes

Remarks

The use of this method is discouraged. Application developers should prefer to use the UIViewPropertyAnimator class to animate UIViews.

Applies to