<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UserNotifications",
  "identifier" : "/documentation/UserNotifications/UNNotificationAttachmentOptionsThumbnailTimeKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "User Notifications"
    ],
    "preciseIdentifier" : "c:@UNNotificationAttachmentOptionsThumbnailTimeKey"
  },
  "title" : "UNNotificationAttachmentOptionsThumbnailTimeKey"
}
-->

# UNNotificationAttachmentOptionsThumbnailTimeKey

The frame number of an animation to use as a thumbnail image.

```
let UNNotificationAttachmentOptionsThumbnailTimeKey: String
```

## Discussion

For animated images, the value of this key is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> containing the frame number to use as the thumbnail. For movies, the value of this key is the time (in seconds) into the movie from which to grab the thumbnail image; you may also specify the value as a <doc://com.apple.documentation/documentation/CoreMedia/CMTime> structure encoded using the <doc://com.apple.documentation/documentation/CoreMedia/CMTimeCopyAsDictionary(_:allocator:)> function.

---

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)