Cheat sheet for updating UIDocumentPickerViewController initialisers from API that was deprecated in iOS 14 since there’s no automatic fix button for this:

init(documentTypes: types, in: .import) -> init(forOpeningContentTypes: types, asCopy: true)
init(documentTypes: types, in: .open)   -> init(forOpeningContentTypes: types)
init(urls: urls, in: .exportToService)  -> init(forExporting: urls, asCopy: true)
init(urls: urls, in: .moveToService)    -> init(forExporting: urls)