title: Access files in "private Documents" folder transferred with iTunes
body: <p>Currently I'm trying to access the files that are transferred using the new iOS feature introduced with 3.2.</p>
  
  <pre><code>- (NSString *)getPrivateDocsDir {
  
      NSArray *paths = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES);
      NSString *documentsDirectory = [paths objectAtIndex:0];
      documentsDirectory = [documentsDirectory stringByAppendingPathComponent:@"Private Documents"];
  
      NSError *error;
      [[NSFileManager defaultManager] createDirectoryAtPath:documentsDirectory withIntermediateDirectories:YES attributes:nil error:&amp;error];   
  
      return documentsDirectory;
  
  }
  
  
   // and then in a method
   NSString *documentsDirectory = [self getPrivateDocsDir];
   NSArray *files = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:documentsDirectory error:&amp;error];
  </code></pre>
  
  <p>The problem is, this works fine in simulator, but on my iphone, the <code>files</code> array is empty.</p>
  
  <p>Any ideas how to access this directory directly?</p>