Posts

Post not yet marked as solved
0 Replies
342 Views
I quickly and repeatedly clicked the undownloaded file from the GoogleDrive or OneDrive in UIDocumentPickerViewController, then opened UIDocumentPickerViewController again, and found that the file could not be selected, the console did not print any informations, and did not call the delegate method. Only restart the device to select the file normally. let doc = UIDocumentPickerViewController(documentTypes: allowedDocumentTypes, in: .import) doc.allowsMultipleSelection = false doc.delegate = self present(doc, animated: true, completion: nil)
Posted
by qixizhu.
Last updated
.