---
title: allowsAnimatedImages
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpreferences/allowsanimatedimages
---

# allowsAnimatedImages

A Boolean that indicates whether or not the receiver allows animated images.

## Declaration

```swift
var allowsAnimatedImages: Bool { get set }
```

## Discussion

Discussion Set to true if the web view should allow animated images, otherwise false.

## See Also

### Related Documentation

- [autosaves](webkit/webpreferences/autosaves.md)

### Handling Images

- [allowsAnimatedImageLooping](webkit/webpreferences/allowsanimatedimagelooping.md)
- [loadsImagesAutomatically](webkit/webpreferences/loadsimagesautomatically.md)
