# Which iOS folders can apps save to that users can see?

**URL:** <https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763>\
**Category:** iOS\
**Created:** [January 4, 2022, 1:05pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763 "2022-01-04T13:05:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amy\_Barnes](https://forum.xojo.com/user_avatar/forum.xojo.com/amy_barnes/32/984_2.png) [@Amy\_Barnes](https://forum.xojo.com/u/Amy_Barnes)\
**Post date:** [January 4, 2022, 1:05pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763/1 "2022-01-04T13:05:22Z")

</div>

My app has data reporting and I would like for users to be able to save the reports to a folder that they can then send or use the reports with other apps.

What folders can users see (that I can save the reports to)?

---

<div class="post-metadata">

**Author:** ![Christoph\_Emrich](https://forum.xojo.com/user_avatar/forum.xojo.com/christoph_emrich/32/1727_2.png) [@Christoph\_Emrich](https://forum.xojo.com/u/Christoph_Emrich)\
**Post date:** [January 4, 2022, 1:12pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763/2 "2022-01-04T13:12:33Z")

</div>

They can see the SpecialFolder.Documents if these two conditions are met:

- the File Sharing entitlement needs to be activated
- the users have to connect their mobile device to a computer and open iTunes. They will see the files there.

---

<div class="post-metadata">

**Author:** ![Amy\_Barnes](https://forum.xojo.com/user_avatar/forum.xojo.com/amy_barnes/32/984_2.png) [@Amy\_Barnes](https://forum.xojo.com/u/Amy_Barnes)\
**Post date:** [January 4, 2022, 1:30pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763/3 "2022-01-04T13:30:02Z")

</div>

The File Sharing entitlement basically opens up app-created files to user inspection while if File Sharing entitlement is not selected then those files are HIDDEN from the user?

Trying to understand this a bit more.

My app creates a database that is encrypted and has a folder containing pics that are used (and are necessary) by the app.

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [January 4, 2022, 1:35pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763/4 "2022-01-04T13:35:28Z")

</div>

> [@Amy\_Barnes](#):
>
> My app creates a database that is encrypted and has a folder containing pics that are used (and are necessary) by the app.

If you want the user to see the files, specialfolder.documents and file share  
Files you need and will never amend, could be part of resources.  
(SQLLite files wouldnt like being there, even if never actually written to)

Other amendable files you need , but do not want them to see, specialfolder.applicationdata  
Other files that can are temporary or not strictly need… specialfolder.temporary  
(you should tidy up anything there - but iOS will delete stuff if space is low)

---

<div class="post-metadata">

**Author:** ![Amy\_Barnes](https://forum.xojo.com/user_avatar/forum.xojo.com/amy_barnes/32/984_2.png) [@Amy\_Barnes](https://forum.xojo.com/u/Amy_Barnes)\
**Post date:** [January 4, 2022, 1:40pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763/5 "2022-01-04T13:40:23Z")

</div>

One of the SpecialFolders was involved in a bug report recently… I could not save to that folder with v3. I wonder if that was fixed for the fresh release that was just pushed out?

[EDIT \>\> ADDED]

I think there was some kind of difference between how ApplicationSupport and ApplicationData folders worked. 🤔

---

<div class="post-metadata">

**Author:** ![Christoph\_Emrich](https://forum.xojo.com/user_avatar/forum.xojo.com/christoph_emrich/32/1727_2.png) [@Christoph\_Emrich](https://forum.xojo.com/u/Christoph_Emrich)\
**Post date:** [January 4, 2022, 1:47pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763/6 "2022-01-04T13:47:01Z")

</div>

There is no ApplicationData folder that I’m aware of. It’s the SpecialFolder.ApplicationSupport which doesn’t exist on the simulator. I believe there is no problem on the actual devices.

I use this workaround for the simulator in the App.Opening event:

```auto
var f as FolderItem = SpecialFolder.ApplicationSupport
if not f.exists then f.createFolder

```

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [January 4, 2022, 1:49pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763/7 "2022-01-04T13:49:21Z")

</div>

Good to know.  
(I actually use only the Documents myself, so haven’t been hit by that. )

---

<div class="post-metadata">

**Author:** ![Amy\_Barnes](https://forum.xojo.com/user_avatar/forum.xojo.com/amy_barnes/32/984_2.png) [@Amy\_Barnes](https://forum.xojo.com/u/Amy_Barnes)\
**Post date:** [January 4, 2022, 2:14pm UTC](https://forum.xojo.com/t/which-ios-folders-can-apps-save-to-that-users-can-see/67763/8 "2022-01-04T14:14:31Z")

</div>

I’ve been using Documents, too 😅
