<!--
{
  "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/UNNotificationAttachmentOptionsThumbnailClippingRectKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "User Notifications"
    ],
    "preciseIdentifier" : "c:@UNNotificationAttachmentOptionsThumbnailClippingRectKey"
  },
  "title" : "UNNotificationAttachmentOptionsThumbnailClippingRectKey"
}
-->

# UNNotificationAttachmentOptionsThumbnailClippingRectKey

The clipping rectangle for a thumbnail image.

```
let UNNotificationAttachmentOptionsThumbnailClippingRectKey: String
```

## Discussion

The value of this key is a dictionary containing a normalized <doc://com.apple.documentation/documentation/CoreFoundation/CGRect> — a unit rectangle whose values are in the range `0.0` to `1.0` and represent the portion of the original image that you want to display. For example, specifying an origin of (`0.25`, `0.25`) and a size of (`0.5`, `0.5`) defines a clipping rectangle that shows only the center portion of the image. Use the <doc://com.apple.documentation/documentation/CoreFoundation/CGRect/dictionaryRepresentation> function to create the dictionary for your rectangle.

---

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)