---
title: NSItemProviderPreferredImageSizeKey
framework: foundation
role: symbol
role_heading: Global Variable
path: foundation/nsitemproviderpreferredimagesizekey
---

# NSItemProviderPreferredImageSizeKey

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

## Declaration

```swift
let NSItemProviderPreferredImageSizeKey: String
```

## Discussion

Discussion Use this key only with the NSItemProvider type coercion policy. Ensure the value is an NSValue object that contains a CGSize struct specifying the requested size, in points.
