add buttons above QuickLook preview in QLPreviewingController

I'm implementing a QuickLook extension through the macOS extension point com.apple.quicklook.preview using the view-based method where I implement QLPreviewingController to show information about the previewed file url.

This NSView controlled by my QLPreviewingController supports no interaction which makes sense, but I see some other QuickLook previews like for videos having toolbar button to open other apps or modify the content.

How can I get similar behaviour?

Hi,

The QLPreviewingController's UI doesn't seem to be customizable and appears to be driven by the type of data it is previewing and provides certain options based on file type (UTI). You are welcome to file an enhancement request for such API to be added.

Rico


WWDR | DTS | Software Engineer

add buttons above QuickLook preview in QLPreviewingController
 
 
Q