【发布时间】:2017-11-01 10:46:02
【问题描述】:
我正在尝试使用 UIDocumentPickerViewController 从文件应用程序中一次导入/选择多个文件。
尝试设置 allowsMultipleSelection = true,但在显示选择器时仍然没有“Select”选项。
代码 sn-p:
UIDocumentPickerViewController *dvc = [[UIDocumentPickerViewController alloc]initWithDocumentTypes:arrContents inMode:UIDocumentPickerModeImport];
dvc.delegate = self;
dvc.allowsMultipleSelection = true;
[self presentViewController:dvc animated:true completion:nil];
【问题讨论】:
标签: ios objective-c uidocumentpickervc