Instance Property


A Boolean value that determines whether the preview should close when its window closes.


@property BOOL shouldCloseWithWindow;


The default value of this property is YES, which means that the preview will automatically close when its window closes. If you set this property to NO, you must close the preview when you are finished with it by calling the close method. Once a QLPreviewView is closed, it won’t accept any more preview items.

See Also

Closing a Preview

- close

Closes the receiver, releasing the current previewItem.