On iOS 13 you can no longer select external folders in the standard
My proposed fix
1. Separate the “Open file or folder” button into an “Open file” button and “Open folder” button
2. Do not do anything with the “Open file” button. Everything works fine already.
3. When user taps “Open folder” button, present a document picker initialized with
UIDocumentPickerViewController(documentTypes: [kUTTypeFolder as String], in: .open)
BTW, there’s actually a tutorial from Apple about providing access to directories here
Customer support service by UserEcho