編輯

共用方式為


UIView.SetAnimationRepeatAutoreverses(Boolean) Method

Definition

Sets whether this animation transaction will automatically reverse when it completes.

[Foundation.Export("setAnimationRepeatAutoreverses:")]
public static void SetAnimationRepeatAutoreverses (bool repeatAutoreverses);
static member SetAnimationRepeatAutoreverses : bool -> unit

Parameters

repeatAutoreverses
Boolean

True if this animation should autoreverse when it completes.

Attributes

Remarks

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

Applies to