I would like to know the possibility of customizing the sidebar browser in a document-based app? The goal is to add a custom browse location and it's folders under it.
I have uploaded an image here
Thanks
I would like to know the possibility of customizing the sidebar browser in a document-based app? The goal is to add a custom browse location and it's folders under it.
I have uploaded an image here
Thanks
Where would this directory be located ?
Tou can add files from other locations (other apps document directory):
https://developer.apple.com/documentation/uikit/uidocumentbrowserviewcontroller
The local file provider grants access to all the documents in the app’s
Documents
directory. Users can also access documents from another app’s Documents
directory, if that app declares either the UISupportsDocumentBrowser
key, or both the UIFileSharingEnabled
and LSSupportsOpeningDocumentsInPlace
keys in its Info.plist
file. When the user opens a document from another app's Documents
directory, they're editing the document in place. The changes are saved to the other app's Documents
directory.Third-party storage services can also provide access to the documents they manage by implementing a File Provider extension (iOS 11 or later). For more information, see FileProvider.
Is it what you're looking for ?
Thanks for the reply. Btw I read the description from the apple docs, but here I want to add a browse location option to UIDocumentBrowserViewController and show an outside directory structure inside there.
Hi, Did you manage to find a solution for this?
This is a reason I can't use UIDocumentBrowserViewController for my app, but I would want...