title: Where I find the saved file in iphone?
body: <p>I have a problem for saving pdf file on iPhone. </p>
  
  <p>I have used the following objective c code to save pdf file:</p>
  
  <pre><code>    NSURL *pathURL = [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject];
      NSString *filePath = [pathURL.path
                        stringByAppendingPathComponent:@"filname.pdf"];
  
      [[NSFileManager defaultManager] createFileAtPath:filePath
                                              contents:pdfdata
                                            attributes:nil];
  </code></pre>
  
  <p>I can check whether the file is saved or not correctly using webview.
  I can check the contents of the saved pdf file using webview.</p>
  
  <p>But I can't find the saved file on both simulator and device.</p>
  
  <p>Where can I find my saved file on iPhone?</p>
  
  <p>If anyone knows the solution for my issue then please advise me.</p>
  
  <p>Thanks.</p>