編集

次の方法で共有


WKInterfaceGroup.StartAnimating Method

Definition

Overloads

StartAnimating()

Begins animating the background image.

StartAnimating(NSRange, Double, nint)

Begins animating the background image.

StartAnimating()

Begins animating the background image.

[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

Applies to

StartAnimating(NSRange, Double, nint)

Begins animating the background image.

[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 range of images to use in the animation. Zero-based.

duration
Double

The duration, in seconds, of a complete animation loop.

repeatCount
System.System.IntPtr System.nativeint

The number of times to repeat the animation or 0, indicating continuous looping.

Implements

Attributes

Remarks

This method always begins animating with the lower value in the imageRange.

Applies to