Instance Method

refreshPreviewItem()

Updates the preview to display the currently previewed item.

Declaration

func refreshPreviewItem()

Discussion

When you modify the object that the previewItem property points to, you must call this method to generate and display the new preview.

See Also

Displaying a Preview

var displayState: Any!

The current display state of the previewItem.

var autostarts: Bool

A Boolean value that determines whether the preview starts automatically.