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

# images

An array of image objects in all pasteboard items.

## Declaration

```swift
var images: [UIImage]? { get set }
```

## Discussion

Discussion The value stored in this property is an array of UIImage objects. 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 items. The returned array may have fewer objects than the number of pasteboard items; this happens if a pasteboard item does not have a value of the indicated type. 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)
- [image](uikit/uipasteboard/image.md)
- [url](uikit/uipasteboard/url.md)
- [urls](uikit/uipasteboard/urls.md)
- [color](uikit/uipasteboard/color.md)
- [colors](uikit/uipasteboard/colors.md)
