Under Settings > File Bookmarks, there’s an option to bookmark folders. But not all file providers are accessible when the list is displayed. Some are dimmed. For me Documents is dimmed and so it doesn’t look like it could be used as a direct destination.
Less automated, but perhaps consider getting the image to the share sheet and manually select the final destination from there.
Thanks a lot !!! Works as I need.
It’s seems thats all clouds folders are not accessible.
I’m going to try for the shareFolder but little confusing about using this syntaxe with the fisrt code…