Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PDF text selection on iOS

Tags:

ios

pdf

I'm looking for ways to implement text selection over a parsed PDF in iOS. I already have the positions of all the glyphs by using the Quartz PDF parsing functions, but I don't know of a good way to implement the selection of the text without writing the selection logic and view from scratch (And display it either in the view displaying the pdf or in some transparent overlay view).

The experience should be similar to selecting text in a UITextField or UIWebView (for example).

Existing 3rd party solutions which I could integrate would be best.

like image 293
Danra Avatar asked Sep 26 '11 08:09

Danra


1 Answers

Found the Omni framework, which implements a similar selection.

like image 188
Danra Avatar answered Sep 30 '22 04:09

Danra