问题标签 [quicklook]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - iOS QuickLook 添加自定义按钮
我在一个项目中使用 iOS QuickLook 框架,客户端请求是在操作菜单中添加一个电子邮件按钮,以及已经存在的可用操作。
示例:电子邮件、打印、打开方式...
有没有办法做到这一点?我在想 setToolBarItems 或类似的东西,但我不想替换默认操作。
谢谢!
ios - 如何在 Interface Builder 中使用 QLPreviewController?
是否可以在 Interface Builder 中使用 QLPreviewController?我正在使用情节提要和 segues,如果也有 QLPreviewController 的表示形式,那就太好了。
ios - 如何获取 QLPreviewItem 的文档图标?
是否可以在 iOS 中获取 QLPreviewItem 的图标?我想这类似于 Mail.app 显示的附件。只是一个简单的图标,代表相关对象的文件类型。
cocoa - 使用 IKImageBrowserView 快速查看
我知道可以将 IKImageBrowserView 设置为控制 QuickLook 面板,但是如何以编程方式显示该面板?
谢谢
ios - Intercepting PDF Link Clicks using Quicklook Framework (QLPreviewController)
Is PDF Link handling available in Quicklook?
I created a prototype, and the QLPreviewControllerDelegate method -(BOOL)previewController:(QLPreviewController *)controller shouldOpenURL:(NSURL *)url forPreviewItem:(id)item never gets called.
When I use a .docx file with links in it, the delegate method does get fired.
Also, when I open up the PDF using safari, or a UIWebView, link handling works fine.
I tested with a few different PDFs, and link interception never worked.
I made sure that My interface implements the following protocols: QLPreviewControllerDataSource, QLPreviewControllerDelegate
I also made sure that the class that has the shouldOpenUrl method is assigned as the delegate to my QlPreviewController instance.
I am guessing the issue is not with my code, since the .docx link interception works fine.
Any thoughts on what I might be doing wrong?
Is PDF Link interception even supported by Quicklook?
I also noticed that when I open up a PDF in iOS mail, it uses Quicklook, and PDf links don't work there either.
ios - DocInteraction 与 iOS5
我在 Apple 网站上找到了 DocInteraction 项目的示例代码——我现在正在关注 QuickLook 部分。
该代码是为比 5.1 更旧的版本编写的,这没问题,但是当我想实现该代码时它给了我很多错误。
有谁知道我在哪里可以找到该代码的 iOS 5.0 版本?或解释它的教程?
干杯杰夫
macos - 快速查看 QLPreviewPanel 在 10.6 上的 LSUIElement 代理应用程序中不可见
有没有办法在 Mac OS X 10.6 上的代理应用程序(LSUIElement == YES)中显示 QLPreviewPanel?它适用于 10.7。面板的框架是正确的,一切都是不可见的。
macos - QuickLook 插件没有引起注意
我有一个 QuickLook 插件,我已成功调试并在该qlmanage
工具下工作。我已将插件添加到我的应用程序中,位于Contents/Library/QuickLook/
,我还尝试将其放入/Library/QuickLook
. 但是操作系统没有注意到我的插件。
Finder 不会显示我的文件的缩略图,qlmanage -m
也不会列出与我的插件或文件类型相关的任何内容。
我尝试运行qlmanage -r
以重置 QL 缓存,然后启动我的应用程序以尝试让操作系统注意到那里有一个 QL 插件。
我已将所有必需的文档类型和 UTI 信息放在我的 Info.plist 中。我会错过什么?
objective-c - 如何创建交互式 quicklook 插件缩略图?
我想为文件类型创建交互式缩略图,例如 Mac OS X 附带的用于音频文件或 PDF 的缩略图。
我知道这是可能的,但它是否涉及未记录的私有 API?
objective-c - 如何将 QuickTime 播放器栏插入自定义 QuickLook 插件?
这个问题真的很简单。我想模拟默认 OSX 的 Audio QuickLook 插件的行为,我需要 QuickTime Player,它通常位于预览窗口的底部。我还希望在使用我的自定义插件时,我还可以听到我当前正在预览的文件的声音。
下面是一些代码(来自 GeneratePreviewForURL.m 文件)可能有助于更好地理解上下文: