title: UIDocumentInteractionController showing file name and file type , not file contents
body: <p>I have <code>NSData</code> , which i saved in a folder inside document directory with .pdf file extension &amp; when I try to open it using <code>UIDocumentInteractionController</code> it is showing me only file name &amp; type, not the content. I checked in document directory folder for simulator &amp; a .pdf file exists there.</p>
  
  <pre><code>//Saving NSData
  + (NSString *)createTempDocumentDirectory:(NSString *)dirName
                           andStoreData:(NSData *)data
                           withFileName:(NSString *)name
                       andFileExtension:(NSString *)extension
  {
      NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
      NSString *documentsDirectory = [paths objectAtIndex:0]; // Fetch path for document directory
      NSMutableString *dirPath = (NSMutableString *)[documentsDirectory stringByAppendingPathComponent:dirName];
      NSString *fileName = [NSString stringWithFormat:@"%@.%@", name, extension];
      NSString *path = [dirPath stringByAppendingPathComponent:fileName];
  
      return path;
  }                         //Presenting contents of view
  
  - (void)loadDocumentPreview:(NSURL *)fileURL
  {    
      if (fileURL)
      {
          self.documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:[self fileURLDocumentPath:documentPath]];
          self.documentInteractionController.name = @"";
          [self.documentInteractionController setDelegate:self];
          [self.documentInteractionController presentPreviewAnimated:YES];
      }
  }
  </code></pre>