有谁知道为什么像在 a中一样Select
点击时没有选项?即使 multipleSelection 设置为.
我注意到它出现在模拟器上,但不在真实设备上。3 dots
UIDocumentPickerViewController
Files app
true
private lazy var _documentPicker = UIDocumentPickerViewController(documentTypes: ["public.image",
"public.audio",
"public.movie",
"public.text",
"public.item",
"public.content",
"public.source-code"],
in: .import)
private final func performDocumentsMenuOpen() {
present(self._documentPicker, animated: true) {
if #available(iOS 11.0, *) {
self._documentPicker.allowsMultipleSelection = true
} else {
// Fallback on earlier versions
}
}
}