<!--
{
  "availability" : [
    "macOS: 10.3.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebPreferences/allowsAnimatedImages",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WebPreferences(py)allowsAnimatedImages"
  },
  "title" : "allowsAnimatedImages"
}
-->

# allowsAnimatedImages

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

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

## Discussion

Set to <doc://com.apple.documentation/documentation/Swift/true> if the web view should allow animated images, otherwise <doc://com.apple.documentation/documentation/Swift/false>.

## See Also

[`autosaves`](/documentation/WebKit/WebPreferences/autosaves)

A Boolean that indicates whether or not the receiver’s attributes are automatically stored in the user defaults database.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)