How can I add a button to a file icon in the Finder, like those for PDF files?
See the ar开发者_JAVA技巧row buttons in this picture:
The buttons are generated by a QuickLook plug-in. To get an interactive preview like this, you will need to create a QuickLook plug-in for your app.
You will need to use the HTML preview type and generate HTML that contains buttons and images yourself.
精彩评论