Here i attached my screenshot of google drive.
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..