---
title: animationImages
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiimageview/animationimages
---

# animationImages

An array of UIImage objects to use for an animation.

## Declaration

```swift
var animationImages: [UIImage]? { get set }
```

## Discussion

Discussion The array must contain UIImage objects. You may use the same image object more than once in the array. Setting this property to a value other than nil hides the image represented by the image property. The value of this property is nil by default.

## See Also

### Related Documentation

- [image](uikit/uiimageview/image.md)

### Animating a sequence of images

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