有谁知道为什么在Select中没有3 dots选项,就像在Files app中那样点击UIDocumentPickerViewController?即使multipleSelection设置为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
}
}
}

发布于 2021-07-17 14:42:29
固定在
在documentPicker
present(self._documentPicker, animated: true)动画为false之前的
allowsMultipleSelection = truehttps://stackoverflow.com/questions/68421099
复制相似问题