title: Local PDF file is not opening in iOS
body: <p>I have the pdf file in local resource folder i want to open this file using UIWebView and user can read. But the PDF file is not displaying to read.</p>
  
  <pre><code>NSString *pathToBundle = [[NSBundle mainBundle] bundlePath];
   NSURL *baseURL = [NSURL fileURLWithPath:pathToBundle];
   NSString *htmlFile = [[NSBundle mainBundle] pathForResource:@"Insupen_User_Guide" ofType:@"pdf"];
   NSString *htmlString = [NSString stringWithContentsOfFile:htmlFile encoding:NSUTF8StringEncoding error:nil];
   //CGRect fullScreenRect=[[UIScreen mainScreen]applicationFrame];
   catalogue=[[UIWebView alloc]initWithFrame:CGRectMake(50,400,600,600)];
   [catalogue loadHTMLString:htmlString baseURL:baseURL];
  
    catalogue.delegate=self;
   [self.view addSubview:catalogue];
  </code></pre>