UIDocumentBrowserViewController/Files.app should support app group containers, not just hardcoded Documents

Originator:steipete
Number:rdar://32713829 Date Originated:12-Jun-2017 06:09 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11b1
Classification:Enhancement Reproducible:Always
 
Summary:
Currently as of b1 the “Local Files” folder in Files app is hardcoded to show the Documents folder for apps. This will not work for many apps that already migrated to shared app containers. Reasons are many, e.g. you want to allow iMessage Extensions access - or any other extensions, or really have more apps and allow code sharing.

Steps to Reproduce:
Add a UIDocumentBrowserViewController to an app which stores its file in the "Documents" subfolder of an app group container.

Expected Results:
The app group container documents folder should be shown in the "On my iPad"/"On my iPhone" section of the document browser. Ideally this is controllable in the Info.plist of the app.

Actual Results:
Only the standard documents folder is shown in the "On my iPad"/"On my iPhone" section of the document browser.

Version:
iOS 11b1

Notes:
No sample required - Files.app is installed on iOS 11. Test with “PDF Viewer” for Documents view and compare with https://www.textasticapp.com/ which uses app containers, which doesn’t show up.

Comments

I can confirm that this has not yet been implemented on iOS 13.

By guilherme at Oct. 4, 2019, 5:24 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!