问题
How can I scan links in a PDF Document? Do I have to use Quartz? Which methods/functions?
回答1:
Yes, you need to use Quartz. You have to parse it out from the PDF. This guide can help you.
http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_pdf_scan/dq_pdf_scan.html#//apple_ref/doc/uid/TP30001066-CH220-TPXREF101
I recommend reading the PDF specification so you will know what to look for.
回答2:
The links are stored in the Annotations object so you will need some software to parse those.
来源:https://stackoverflow.com/questions/3717775/how-to-scan-links-in-a-pdf-document