Can't see Specialfolder.Documents for app

I created a specialfolder.document.child but can’t see it in Files/On My iphone,

Shouldn’t I see a PlantMap folder there? Or what am I missing

var myfolder as folderitem
var myfile as folderitem
myfolder = SpecialFolder.Documents.Child(“PlantMap”)
if not myfolder.Exists then
myfolder.createFolder
end if

SpecialFolder.Documents folder is not inside / accessible through the iOS “Files” app… but inside the app container when installed in the Device or Simulator.

1 Like

You probably haven’t enabled file sharing.
I do that by including an info.plist into my project, containing this key


<plist version="1.0">
<dict>
   <key>UIFileSharingEnabled</key>
   <true/>

but it should work if you tick the option in the IOS entitlements

File sharing is turned on already.

hmm, so there is no user access to the folder I’ve created? I’m not sure what you mean by inside the app container. How do other apps get a folder where I’ve mentioned, or is this just an issue with Xojo?

Files/ On My phone won’t show you the specfic documents folder of your app.
But you would be able to see the contents if you connect your phone to a mac using a data cable.

Yes I can see them on my mac in a convoluted path, that I can pick up from the debugger, but not on my phone. So there isn’t a way to actually see the files that are saved to your iphone anywhere?

1 Like

Thanks I found how to add in the properly list in Xojo or import it from xcode

1 Like

I guess the missing one was the key LSSupportsOpeningDocumentsInPlace

1 Like