1

我想使用文档选择器从谷歌驱动器中选择 .xps 文件,但文件显示无法选择。我可以从 iCloud 中选择这个文件而不做任何更改,但不能从谷歌驱动器中选择。

我不想使用谷歌驱动 SDK。

我试过这段代码。

UIDocumentPickerViewController *picker = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:@[(NSString*)kUTTypeItem,(NSString *)kUTTypeContent] inMode:UIDocumentPickerModeImport];
picker.delegate = self;
[self presentViewController:picker animated:YES completion:nil];
4

0 回答 0