Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PDF to HTML in iPhone

Is it possible to convert a PDF page in to HTML format using any objective-c library. I want to enable the text selection on PDF files.

like image 834
Anil Sivadas Avatar asked Nov 15 '22 08:11

Anil Sivadas


1 Answers

@swiecki approach is not valid for pdfs

My suggestion is to use CoreText and add an overlay over the pdf view. But it will be a long and tedious process as you need to parse the pdf to find coordinates of every letter.

like image 191
MacTeo Avatar answered Dec 09 '22 20:12

MacTeo