---
title: imageProvider
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nspreviewrepresentableactivityitem/imageprovider
---

# imageProvider

An object that provides a visual representation of the item.

## Declaration

```swift
optional var imageProvider: NSItemProvider? { get }
```

## Discussion

Discussion Provide a full-size representation of the content you’re sharing. For example, if the shared item is a link to a webpage, provide the hero image for that webpage or a rendering of the page.

## See Also

### Providing Metadata About the Item

- [title](appkit/nspreviewrepresentableactivityitem/title.md)
- [iconProvider](appkit/nspreviewrepresentableactivityitem/iconprovider.md)
