<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/ProgressUserInfoKey/fileAnimationImageKey",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSProgressFileAnimationImageKey"
  },
  "title" : "fileAnimationImageKey"
}
-->

# fileAnimationImageKey

A key with a corresponding value that is an image, typically an icon to represent the file.

```
static let fileAnimationImageKey: ProgressUserInfoKey
```

## Discussion

This entry is optional, but if present, along with a value for [`fileAnimationImageOriginalRectKey`](/documentation/Foundation/ProgressUserInfoKey/fileAnimationImageOriginalRectKey), the Dock may show an animation. When the Dock has an item for the folder that contains the relevant file (such as the Downloads folder), the Dock uses this key to show an animation of the file flying into the Dock.

---

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)