---
title: image
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipasteboard/image
---

# image

The image object of the first pasteboard item.

## Declaration

```swift
@NSCopying var image: UIImage? { get set }
```

## Discussion

Discussion The value stored in this property is a UIImage object. The associated array of representation types is typeListImage, which includes types kUTTypePNG and kUTTypeJPEG. Setting this property replaces all current items in the pasteboard with the new item.  If the first item has no value of the indicated type, nil is returned. note: Do not use this property to determine if a pasteboard contains image data. Instead, use the hasImages property.

## See Also

### Getting and setting pasteboard items of standard data types

- [string](uikit/uipasteboard/string.md)
- [strings](uikit/uipasteboard/strings.md)
- [images](uikit/uipasteboard/images.md)
- [url](uikit/uipasteboard/url.md)
- [urls](uikit/uipasteboard/urls.md)
- [color](uikit/uipasteboard/color.md)
- [colors](uikit/uipasteboard/colors.md)
