UIDocumentBrowserViewController should not be required to be the root view controller of the app

Originator:luke
Number:rdar://32869876 Date Originated:June 20 2017, 11:22 AM
Status: Resolved:
Product:iOS Product Version:11
Classification:Suggestion Reproducible:
 
The documentation states:

"Always assign the document browser as your app's root view controller. Don't place the document browser in a navigation controller, tab bar, or split view, and don't present the document browser modally. If you want to present a document browser from another location in your view hierarchy, use a UIDocumentPickerViewController instead."

However, UIDocumentPickerViewController provides no means for creating new documents, or for selecting the location for a new document to be created. Requiring the UIDocumentBrowserViewController to be the root of the app is overly restrictive and prevents the developer from implementing the best user experience for their app. If the document browser is analogous to the "Open…" window on macOS, then presenting it modally would make more sense.

Comments


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!