3 Replies
      Latest reply on Dec 9, 2019 11:16 AM by awebb_hg
      glavid Level 1 Level 1 (0 points)

        iOS 13 has support for selecting and importing files inside of the UIDocumentPicker.

         

        Initializing the document picker with UTIs for directory subtypes does not yet selectable folders inside of the document picker:

         

        NSArray* documentTypes = @[@"public.image", @"public.folder", @"public.volume", @"public.directory"];
          UIDocumentPickerViewController* pickerVC = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:documentTypes inMode:UIDocumentPickerModeOpen];
        

        Images are selectable in the document picker UI, but folders/directories are not showing as selectable.