Instance Property

repeatCount

Determines the number of times the animation will repeat.

Required.

Declaration

@property float repeatCount;

Discussion

May be fractional. If the repeatCount is 0, it is ignored. Defaults to 0. If both repeatDuration and repeatCount are specified the behavior is undefined.

Setting this property to greatestFiniteMagnitude will cause the animation to repeat forever.

See Also

Repeating Animations

repeatDuration

Determines how many seconds the animation will repeat for.

Required.