iOS 13: Unable to select a folder using “Open File or Folder”

George Bougakov 5 years ago in General updated by Alexander Blach (Developer) 5 years ago 13

On iOS 13 you can no longer select external folders in the standard  UIDocumentPickerViewController

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


Yes, this is planned for a future update.

I can not open folder now, is there any work around way to solve this problem now?

On iPad, you can still drag a folder from Working Copy into the side bar of Textastic to open it as explained in the manual at https://www.textasticapp.com/v8/manual/integration_other_apps/git_client_working_copy.html#use-drag-and-drop-on-ipad-to-open-a-repository

Nope, this doesn’t work with iPad OS Beta 7.

I just tried it on an iPad Pro running iOS 13 beta 7 and it works for me. Please note that you need to drag a repository from Working Copy (not from the Files app) into the sidebar of Textastic (where the "Local Files" and "iCloud" locations are shown).

The latest TestFlight beta of Textastic also has a new "Add External Folder…" option on iOS 13.

No, don't works for me on iPad Air 2019 with iPad OS Beta 7 


  • enabling Allow URL actions in Working Copy 
  • adding Working Copy to storage locations in Files
  • close and open Textastic

it works now. But please make this a better experience.

Ah, ok, you need to add Working Copy as a location in the Files app for this to work. Otherwise the file provider isn't active. I haven't tried it without that to be honest.

Not a bug

Good idea, I just added it to the manual.

How long is it going to take for this future update to be released?


I hope to have this ready when iOS 13 gets released.