Show additional navigation bar items on the initial UIDocumentBrowserViewController Browse screen

Originator:stefan.kieleithner
Number:rdar://42857158 Date Originated:02-Aug-2018 05:27 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.4.1 & 12b5
Classification:Enhancement Reproducible:Always
 
Summary:
In UIDocumentBrowserViewController any bar button items added to additionalTrailingNavigationBarButtonItems or additionalLeadingNavigationBarButtonItems don’t show up on the initial screen of the Browse tab (The screen where Locations, Favorites and Tags are shown.)

You need to select any of the shown items from the Locations, Favorites or Tags list, to be able to see the app specific navigation bar button items.
The navigation bar items are correctly shown on all the other screen in UIDocumentBrowserViewController.

This only applies to compact width environments (like iPhone or iPad in some Split View configurations), since this screen is shown in a sidebar on regular width environments, which doesn’t affect navigation bar items.

Steps to Reproduce:
- Add bar button items to additionalLeadingNavigationBarButtonItems or additionalTrailingNavigationBarButtonItems.
- Navigate to the initial Browse screen, where Locations are shown.


Expected Results:
Bar button items added via additionalTrailingNavigationBarButtonItems or additionalLeadingNavigationBarButtonItems are shown anywhere in UIDocumentBrowserViewController, including this specific screen.

Actual Results:
Bar button items added via additionalTrailingNavigationBarButtonItems or additionalLeadingNavigationBarButtonItems are not shown on this specific screen.

Version:
11.4.1 & 12b5

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!