Protocol

WKImageAnimatable

A collection of methods you can use to control the playback of animated images.

Declaration

@protocol WKImageAnimatable

Overview

Existing classes adopt this protocol and you use the methods to control the animation of those images. Do not adopt this protocol in your own classes.

Topics

Animating an Image Sequence

- startAnimating

Begins animating the current sequence of images.

Required.

- startAnimatingWithImagesInRange:duration:repeatCount:

Animates the specified images with the given duration and repeat information.

Required.

- stopAnimating

Stops any in-progress animations.

Required.

Relationships

Inherits From

See Also

Images and Movies

WKInterfaceImage

An image that can be displayed in the interface of your watchOS app.

WKImage

A wrapper for images you use with a picker interface.

WKInterfaceMovie

An interface element that lets you play video and audio content in your watchOS app.

WKInterfaceInlineMovie

An interface element that displays a video's poster image and supports inline playing of the video.

WKInterfaceHMCamera

An interface element that displays either a video stream or a single snapshot from an IP camera connected to HomeKit.

WKVideoGravity

Constants indicating the appearance of video content.