[英]QuickLook plugin displaying an image and some infos
我正在编写一个QuickLook插件,我想知道如何同时显示图像和有关该图像的一些信息,类似于http://www.code-line.com/software/sneakpeekphoto/ 。
There is only one way to do so: Convert your content to an already supported one. 只有一种方法可以:将您的内容转换为已经支持的内容。 This means either PDF or HTML.
这意味着PDF或HTML。 There are two options you have:
您有两种选择:
-dataWithPDFInsideRect:
method of NSView
) -dataWithPDFInsideRect:
NSView
方法) We have not found a way to create complex previews on ur own and had to stick to one of the methods, too. 我们还没有找到一种方法来创建复杂的预览,并且必须坚持使用其中一种方法。 Keynote and Pages do the same -- they convert their presentations to multi-page PDF previews...
Keynote和Pages也是如此 - 他们将演示文稿转换为多页PDF预览......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.