0
显示我加载PDF文件与下面的代码UIWebView
本地PDF:如何检测超链接在一个UIWebView
NSString *path = [[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"%@", pdfString] ofType:@"pdf"];
NSURL *url = [NSURL fileURLWithPath:path];
NSURLRequest *req = [NSURLRequest requestWithURL:url];
[webview loadRequest:req];
它的正常工作。但我想在pdf文件中启用超链接(就像UITextView
检测链接一样)。
http://stackoverflow.com/questions/3889634/fast-and-lean-pdf-viewer-for-iphone-ipad-ios-tips-and-hints和HTTP ://stackoverflow.com/questions/4080373/get-pdf-hyperlinks-on-ios-with-quartz LQ = 1 – iPatel 2013-02-11 09:26:07