iPhone 3.0 WebView Scroll PDF Error - [NSCFDictionary _absoluteLinkURL]
- by DFG
I have a WebView which loads a PDF file:
[myWebView loadRequest:[NSURLRequest requestWithURL:[NSURL
fileURLWithPath:[[NSBundle mainBundle] pathForResource:fileName
ofType:@"pdf"]isDirectory:NO]]];
It works fine on iPhone OS 2.x but on iPhone 3.0, when I tap the PDF for scrolling, this error appears, and the app crash:
-[NSCFDictionary _absoluteLinkURL]: unrecognized selector sent to instance
0x1c0230 Terminating app due to
uncaught exception
'NSInvalidArgumentException', reason:
'-[NSCFDictionary
_absoluteLinkURL]: unrecognized selector sent to instance 0x1c0230'