0

I need to get table of context from my PDF and put it in UITableView. To do this I need to retrieve text (Paragraph name) and page number. as PDF example I use apple documentation PDF

PDF Contents Example
UI Design Basics - 8
Designing for iOS 7 - 9
Defer to Content - 10
Provide Clarity - 12
Use Depth to Communicate - 16
iOS App Anatomy - 22
PDF END

I have looked in PDFReader library and also in this link and find solution how to get page number only (8, 9, 10, 12, 16, 22). But can not find how to get Paragraph names (UI Design Basics, Designing for iOS 7, etc). Also tried to use ReaderDocumentOutline.h/m from PDFReader lib to get Paragraph names - but it is return only Name from first page.

May be some one have idea how to handle this? Thx for Help

rmaddy
  • 314,917
  • 42
  • 532
  • 579

1 Answers1

0

I have find solution here

it return page num + outline text.