超链接在 PDFView 中不起作用(在我的可可应用程序中)
我的一个窗口中有一个 PDFView 对象,想知道是否需要执行任何特殊操作才能使超链接正常工作。
相同的 pdf 文件在其他应用程序(如浏览、预览等)中打开时具有有效的超链接。
有什么想法吗?
I have a PDFView object in one of my windows and wondering if there's anything special I need to do in order for the hyperlinks to work.
The same pdf files have working hyperlinks when opened in other apps (like skim, preview, etc).
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将委托添加到响应此选择器的 PDFView
Add a delegate to your PDFView that responds to this selector
事实证明,我只需在我的派生类中启用此功能: [super mouseDown:theEvent];
Turned out that I simply had to enable this in my derived class: [super mouseDown:theEvent];