Possible Duplicate:
Reading text and images from a pdf document in iOS
I have an app that currently extracts text from a PDF using PDF Kitten ( https://github.com/KurtCode/PDFKitten ). This works well, but as Kurt says, does not support all fonts.
Sometimes, the text I get back is just a collection of single characters. However, capturing text copied into the paste buffer from the same PDF works just fine.
I want to get at the same functionality Apple is using in iOS to copy text from a PDF. It has to be somewhere the Quartz framework, but I can't figure it out.
I thought of hooking into UIWebView and doing a selectAll: but UIWebView doesn't support selectAll: and there seems to be no way to turn it on.
Does anyone have experience or clues as to how to get at that text the same way the PasteBoard does?