Instance Property

thumbnailIfAvailable

The item’s thumbnail if it is readily available.

Declaration

var thumbnailIfAvailable: CGImage? { get }

Discussion

If a thumbnail is not readily available, accessing this property requests it from the device.

When the thumbnail is received, cameraDevice(_:didReceiveThumbnailFor:) is called on the the device’s delegate.

Execution of the delegate callback occurs on the main thread.

See Also

Requesting Thumbnails

func requestThumbnail()

Requests a thumbnail for the item.

var thumbnail: CGImage?

The item’s thumbnail.

var largeThumbnailIfAvailable: CGImage?

A large thumbnail for the item if one is readily available.

func flushThumbnailCache()

Deletes the item’s cached thumbnail.

struct ICCameraItemThumbnailOption

An option for the item’s thumbnail.