Instance Property


The current display state of the previewItem.


var displayState: Any! { get set }


This property is an opaque object that is used to get and set the current display state of the preview. The display state could be the currently displayed page, the zoom factor on an image or the position in a movie for example.

You can use this property to get and save the current display state of the preview before switching to another. This saving allows you to restore a preview later on when the user switches back to it.

See Also

Displaying a Preview

func refreshPreviewItem()

Updates the preview to display the currently previewed item.

var autostarts: Bool

A Boolean value that determines whether the preview starts automatically.