Contents

image

The image object of the first pasteboard item.

Declaration

@NSCopying var image: UIImage? { get set }

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.

See Also

Getting and setting pasteboard items of standard data types