The default UITabBar of UIDocumentBrowserViewController can't be disabled

Originator:matthias.tretter
Number:rdar://32846056 Date Originated:19-Jun-2017 11:59 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11b1
Classification:UI/Usability Reproducible:Always
 
Summary:
By default, UIDocumentBrowserViewController shows a UITabBar at the bottom with 2 options: "Recents" and "Browse". There is no option to disable the "Recents" Tab, which has several drawbacks:
 1. The TabBar takes up a lot of space
 2. Since there's a TabBar, there's no way to show a UIToolbar at the bottom
 3. Since there is no Toolbar at the bottom, the NavigationBar at the top gets very crowded quickly (on iPhone), as this is the only place where we can add additional global actions
 
 It would be very easy to integrate the "Recents" into the "Browse" Tab, leaving space for a UIToolbar at the bottom. UIDocumentBrowserViewController is the only sane option for document-based apps going forward, so it's very important that it can be better customized to the different Apps' needs.

Steps to Reproduce:
1. Open the attached DocumentBrowser-based app on iPhone
2. Observe the TabBar at the bottom
3. Open the Browse Tab and drill down into a folder
4. Observe the crowded NavigationBar

Expected Results:
Everything looks neat and tidy, even when custom actions and additional bar button items are configured.

Actual Results:
Since the UITabBar takes up the space at the bottom, the only way to show additional bar button items is in the NavigationBar - which gets crowded very quickly, especially on iPhone.

Version:
iOS 11b1

Notes:

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!