Hello,
I need to get all files (recursively) from an iCloud Drive folder.
So I use UIDocumentPickerController with UTType.folder.
Then I use FileManager to get all files from the picked folder, but when I try to access it with startAccessingSecurityScopedResource
it return false.
It's work perfectly if I dont get files by FileManager but directly by the UIDocumentPickerController when configured for multiple files selection.
How can I access to all files from a picked directory with permission granted ? Is it at least possible ?
Thanks