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.