Instance Method

setCanControlQuickLookPanel:

Specifies whether the view can automatically take control of the QuickLook panel.

Declaration

- (void)setCanControlQuickLookPanel:(BOOL)flag;

Parameters

flag

YES, if the view can display the QuickLook panel, otherwise NO.

Discussion

When the browser view displays the QuickLook panel it sets itself as the QuickLook datasource. If the browser cells returned by the datasource return items that are URLs or paths, then the QuickLook panel will display the image at that location. Otherwise, the browser cell must implement the QLPreviewItem protocol and return the requested URL for the custom cell.

See Also

QuickLook Support

- canControlQuickLookPanel

Returns whether the view can automatically take control of the QuickLook panel.