---
title: animationDuration
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiimageview/animationduration
---

# animationDuration

The amount of time it takes to go through one cycle of the images.

## Declaration

```swift
var animationDuration: TimeInterval { get set }
```

## Discussion

Discussion The time duration is measured in seconds. The default value of this property is 0.0, which causes the image view to use a duration equal to the number of images multiplied by 1/30th of a second. Thus, if you had 30 images, the duration would be 1 second.

## See Also

### Animating a sequence of images

- [animationImages](uikit/uiimageview/animationimages.md)
- [highlightedAnimationImages](uikit/uiimageview/highlightedanimationimages.md)
- [animationRepeatCount](uikit/uiimageview/animationrepeatcount.md)
- [startAnimating()](uikit/uiimageview/startanimating().md)
- [stopAnimating()](uikit/uiimageview/stopanimating().md)
- [isAnimating](uikit/uiimageview/isanimating.md)
