Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS CGPDFScanner to search locate text positions

Tags:

ios

pdf

iphone

ipad

I am building an iPhone/iPad application to read pdf files and so far managed to download, open file, zoom in/out, bookmark etc. Since I am not an expert programmer, I was only able to do this after reading lots of blogs and questions on stackoverflow.

I have also included a search function and found the following site helpful in explaining the use of CGPDFScanner http://www.random-ideas.net/posts/42

Now the mystery to solve is locating the text position in the pdf and highlight the results (exactly like in iBooks). Many people have already said pdf parsing is very complicated and I am hoping someone can share their code.

like image 557
topace Avatar asked Oct 14 '22 17:10

topace


1 Answers

After two weeks of painful search I finally found this!

FastPdfKit

like image 82
topace Avatar answered Oct 18 '22 03:10

topace