title: UIDocumentInteractionController prevent Airdrop in the 'Open in' sheet
body: <p><img src="https://i.stack.imgur.com/xClK1.png" alt="enter image description here"></p>
  
  <p>In my app, I'm allowing users to share photos via Instagram, which requires the use of UIDocumentInteractionController.  Airdrop is automatically detected if the phone supports it.  How do I remove it from this ‘Open in’ action sheet?</p>
  
  <p>Even if I begin the sharing process with a UIActivityViewController and call setExcludedActivityTypes:, eventually I must use  a UIDocumentInteractionController, and when I do, Airdrop appears again.  Here is the code when the share button gets tapped:</p>
  
  <pre><code>NSURL *instagramURL = [NSURL URLWithString:@"instagram://location?id=1"];
  
  if ([[UIApplication sharedApplication] canOpenURL:instagramURL]) {
      NSString *documentsDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
      NSString *savedImagePath = [documentsDirectory stringByAppendingPathComponent:@"Image.igo"];
  
      NSData *imageData = UIImagePNGRepresentation(imageToShare);
      [imageData writeToFile:savedImagePath atomically:YES];
      NSURL *imageUrl = [NSURL fileURLWithPath:savedImagePath];
      docController = [[UIDocumentInteractionController alloc] init];
      docController.UTI = @"com.instagram.exclusivegram";
      docController.URL = imageUrl;
      [docController presentOpenInMenuFromRect:CGRectZero inView:self.view animated:YES];
  
  }
  else
  {
      NSLog(@"no insta");
  }
  </code></pre>