title: How to find Pdf file in iPhone
body: <p>hello i am beginner in iOS In one of my activity i want to ask .....I displayed pdf using WebView ......on screen and save this Pdf then write this type of code ........</p>
  
  <pre><code> NSArray  *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
   NSString *documentsDir = [paths objectAtIndex:0];
   NSString *pdfFilePath =[documentsDir stringByAppendingPathComponent:@"myPDF.pdf"];// your yourPdfFile file here
   NSLog(@"pdf file %@",pdfFilePath);
   NSURL *url = [NSURL fileURLWithPath:pdfFilePath];
   UIDocumentInteractionController *docController = [UIDocumentInteractionController interactionControllerWithURL:url];
  
   docController.delegate = self;
   [docController presentOpenInMenuFromRect:CGRextZero inView:self.view  animated:YES];
  </code></pre>
  
  <p>When we run this code on simulator (using Xcode) then show path and I got this Pdf file successfully in documents folder .......
  but when we run this code in iPhone device then I got this type of path......</p>
  
  <pre><code>/var/mobile/Applications/D33A80AA-C0AD-4211-ADE3-4906372CDA40/Documents/myPDF.pdf
  </code></pre>
  
  <p>So I don't know where is my Pdf in iPhone device and how to got this Pdf and open .....when i want ......</p>