is it possible to access pdf outline when developing for iOS
问题 being that PDFKit is not available on iOS, how is it possible to get the outline of a pdf document in that environment? Is commercial libraries like FastPdfKit or PSPDFKit the only solution? 回答1: It's not TOO tricky to access the pdf outline. My outline parser has about 420 LOC. I'll post some snippets, so you'll get the idea. I can't post the full code as it's a commercial library. You basically start like this: CGPDFDictionaryRef outlineRef; if(CGPDFDictionaryGetDictionary(pdfDocDictionary,