Wednesday, September 25, 2013

IOS to read PDF layers

I have a PDF file, which has 10 layers, with Adobe's PDF reader or other goodreader other readers read, it will be reality by default all layers. There are no third-party api allows me to parse this PDF file, then can they know how many layers, and then dynamically control the display or hide a layer.
Reply:
I remember that Adobe had SDK, but it is estimated will look very big head
Reply:
10 Layers What does it mean?
10 do?

CGPDFDocument.h search
CGPDFDocumentGetPage

Reply:
Haha that would not work.
According to the binary loaded into NSData, and then follow the PDF format parse it yourself. http://www.adobe.com/devnet/pdf/pdf_reference.html

No comments:

Post a Comment