开发者

PDF text selection on iOS

开发者 https://www.devze.com 2023-04-07 06:09 出处:网络
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

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 UIWeb开发者_开发百科View (for example).

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


Found the Omni framework, which implements a similar selection.

0

精彩评论

暂无评论...
验证码 换一张
取 消