Google Drive through iOS’s picker disable .apk and .ipa files

157 Views Asked by At

Here i attached my screenshot of google drive.

Image

When i try to attach files from iOS application through UIDocumentMenuViewController , .ipa and .apk files are greyed out. it is disable so thats why i can't select it. So how can i enable it ??

Here is my code:

  UIDocumentMenuViewController *viewController = [[UIDocumentMenuViewController alloc] initWithDocumentTypes:@[@"public.data"] inMode:UIDocumentPickerModeImport];
    viewController.delegate = self;
    //viewController.modalPresentationStyle = UIModalPresentationFullScreen;

    viewController.popoverPresentationController.sourceView = [self popoverPresentationView];
    viewController.popoverPresentationController.sourceRect = [self popoverPresentationRect];
    viewController.popoverPresentationController.permittedArrowDirections = [self popoverPresentationArrowDirection];

    [self.initialViewController presentViewController:viewController animated:YES completion:nil];

Please anyone help.. Thanks in advance..

0

There are 0 best solutions below