display the PDF file in webview
<p>i am doing one application.In that i am displaying  the pdf file in webview like below</p>

<pre><code>  NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *fileName = [[paths objectAtIndex:0] stringByAppendingPathComponent:[default1 objectForKey:@"KeyToSelectedFile"]];
NSString *filename1=[fileName stringByAppendingPathComponent:s1];

NSLog(@"%@",filename1);
NSURL *url = [NSURL fileURLWithPath:filename1];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
web=[[UIWebView alloc]initWithFrame:CGRectMake(0,0, 1020, 748)];
web.delegate=self;
[web loadRequest:request];
 web.backgroundColor=[UIColor whiteColor];
[self.view addSubview:web];
</code></pre>

<p>But when i click open on first time it will be crashing the app and from next time onwards it's opening correctly.And at first time o got the error like</p>

<pre><code>dyld: fast lazy binding from unknown image
</code></pre>

<p>So please tell me how to display pdf in uiwebview without crashing.</p>
