cocoaquicklookikimagebrowserview

QuickLook with IKImageBrowserView


I know IKImageBrowserView can be set to take control of the QuickLook panel, but how can I show that panel programmatically?

Thank you


Solution

  • [ik.window makeFirstResponder:ik];
    QLPreviewPanel *panel = [QLPreviewPanel sharedPreviewPanel];
    [panel updateController];
    [panel makeKeyAndOrderFront:nil];