編輯

共用方式為


UIViewPropertyAnimator.StopAnimation(Boolean) Method

Definition

Stops the animation at the current position.

[Foundation.Export("stopAnimation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StopAnimation (bool withoutFinishing);
abstract member StopAnimation : bool -> unit
override this.StopAnimation : bool -> unit

Parameters

withoutFinishing
Boolean

Whether the completion actions of the animation should run.

Implements

Attributes

Applies to