Contents

kCGImageAnimationLoopCount

The number of times to repeat the animated sequence.

Declaration

let kCGImageAnimationLoopCount: CFString

Discussion

The value of this property is a CFNumber that contains an unsigned integer. To override the loop count value in the image file, include this property in the options dictionary when animating an image.

You may specify kCFNumberPositiveInfinity for this property to animate the images continuously.

See Also

Animations