I am trying to create a PDF reader application so that a user can search a string from a PDF. It is a very simple idea to display PDF in webView, but I don’t know if I can search in PDF displayed in UIWebView or not?
If possible, please provide me with a good tutorial for this. If not, then I use CGPDFDocumentRef and other CoreGraphics classes. I ended up displaying a PDF on a UIView without a UIWebView. I can’t enlarge yet, but it is displayed. Now I used this tutorial to search. http://www.random-ideas.net/posts/42 . I can search and get the bool value for the string is available or not. but I don’t understand how to highlight search text in PDF.
Please help me if it is possible with anyone, UIWebView or the way I work with CoreGraphics.
Thanks.
Kapil choubisa
source share