title: Accessing Document Directory in iOS Files
tags:
- Technology
- iOS
date: 2021-08-30 13:31#
Accessing Document Directory in iOS Files#
Starting from iOS 11, by setting LSSupportsOpeningDocumentsInPlace
to YES and UIFileSharingEnabled
to YES in the Plist, you can access the Documents directory of your app from the system's Files app.
Here's how it works:
When you open the "Files" app on your device and go to "On My iPhone", you will see the apps that have enabled this feature.

Note: This directory is the "Documents" directory of the app, so it will disappear when the app is deleted.