title: certain file extensions always appear disabled viewing Google Drive through iOS’s picker
body: <p>We’re using iOS’s UIDocumentMenuViewController/UIDocumentPickerViewController APIs, but this problem happens only with Google Drive, so I’ll start here. If you think we should send Apple a bug report instead, let me know.</p>
  
  <p>In our app or a minimal single-view app, we show the document menu and then the picker. When we view Google Drive, files with certain extensions (iges, sldprt, stl) always appear disabled. Other common extensions (tiff, jpg) and CAD-related extensions (sat, x_t, step) work fine.</p>
  
  <p>This happens whether the file is empty, contains a JPG, contains CAD data, etc.</p>
  
  <p>It doesn’t happen with Dropbox -- only with Google Drive.</p>
  
  <p><a href="http://i.stack.imgur.com/glmmF.png" rel="nofollow">Here’s a shot of how Drive looks</a> and below some (minimal, I hope) sample code.</p>
  
  <p>Thanks,</p>
  
  <p>-- Mike</p>
  
  <pre><code>- (void)pick {
  UIDocumentMenuViewController *importMenu =
      [[UIDocumentMenuViewController alloc] initWithDocumentTypes:@[(NSString *)kUTTypeItem]
                                                           inMode:UIDocumentPickerModeImport];
  importMenu.delegate = self;
  if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
      [self presentViewController:importMenu animated:YES completion:nil];
  }
  else
  {
      UIPopoverController *popup = [[UIPopoverController alloc] initWithContentViewController:importMenu];
      [popup presentPopoverFromRect:CGRectMake(100, 100, 200, 200)
                             inView:self.view
           permittedArrowDirections:UIPopoverArrowDirectionAny
                           animated:YES];
  }
  </code></pre>
  
  <p>}</p>