Düzenle

Aracılığıyla paylaş


WKInterfaceImage.StartAnimating Method

Definition

Overloads

StartAnimating()

Begins animating an image sequence.

StartAnimating(NSRange, Double, nint)

Animates the image sequence with a loop of the specified duration.

StartAnimating()

Begins animating an image sequence.

[Foundation.Export("startAnimating")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StartAnimating ();
abstract member StartAnimating : unit -> unit
override this.StartAnimating : unit -> unit

Implements

Attributes

Remarks

The animation begins with the first image in the data. If the data contains only a single image, this method does nothing.

Applies to

StartAnimating(NSRange, Double, nint)

Animates the image sequence with a loop of the specified duration.

[Foundation.Export("startAnimatingWithImagesInRange:duration:repeatCount:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StartAnimating (Foundation.NSRange imageRange, double duration, nint repeatCount);
abstract member StartAnimating : Foundation.NSRange * double * nint -> unit
override this.StartAnimating : Foundation.NSRange * double * nint -> unit

Parameters

imageRange
NSRange

The 0-based range of images to animate.

duration
Double

The time, in seconds, of a single loop of the animation.

repeatCount
System.System.IntPtr System.nativeint

The number of times to repeat the animation. If 0, the animation will repeat indefinitely.

Implements

Attributes

Remarks

The animation begins with the first image in the imageRange.

Applies to