I am showing a locally saved pdf in my iPad application. Here is the code:
NSString *path = [[NSBundle mainBundle] pathForResource:@"About Downloads" ofType:@"pdf"]; NSURL *targetURL = [NSURL fileURLWithPath:path]; NSURLRequest *request = [NSURLRequest requestWithURL:targetURL]; [pdfWebView loadRequest:request];
Now, by default, you cannot copy text or images from a PDF file that is displayed in UIWebView. Is there a way to allow users to copy text and / or images from PDF?
I am not familiar with CATitledLayer, so I'm just wondering if this can help in this case?
source share