title: Hide share option from UIDocumentInteractionController
body: <p>In my application I need to show some pdf files to the user. I'm using <a href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDocumentInteractionController_class/" rel="nofollow noreferrer">UIDocumentInteractionController</a> for this purpose:</p>
  
  <pre><code>.h
  // Document interaction controller
  @property (nonatomic, strong) UIDocumentInteractionController *docViewer;
  
  .m
  _docViewer            = [[UIDocumentInteractionController alloc] init];
  _docViewer.delegate   = self;
  _docViewer.URL        = [NSURL fileURLWithPath:@"my file path"]];
  [_docViewer presentPreviewAnimated:YES];
  </code></pre>
  
  <p>Everything works just fine. But the problem is I'm getting a share option in the document interaction controller.</p>
  
  <p><a href="https://i.stack.imgur.com/C6P3U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C6P3U.png" alt="Doc Controller"></a></p>
  
  <p>I don't want to show the share option in the document interaction controller. Is that possible ? I checked the class reference document and I didn't find any properties for hiding that option.</p>