<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSItemProviderPreferredImageSizeKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSItemProviderPreferredImageSizeKey"
  },
  "title" : "NSItemProviderPreferredImageSizeKey"
}
-->

# NSItemProviderPreferredImageSizeKey

A key provided to the options dictionary to indicate a preferred image size.

```
let NSItemProviderPreferredImageSizeKey: String
```

## Discussion

Use this key only with the [`NSItemProvider`](/documentation/Foundation/NSItemProvider) type coercion policy. Ensure the value is an [`NSValue`](/documentation/Foundation/NSValue) object that contains a <doc://com.apple.documentation/documentation/CoreFoundation/CGSize> struct specifying the requested size, in points.

---

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)