No visible back button, when `additionalLeadingNavigationBarButtonItems` is set in UIDocumentBrowserViewController

Originator:matthias.tretter
Number:rdar://33695761 Date Originated:03-Aug-2017 10:49 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11b4
Classification:Serious Bug Reproducible:Always
 
Summary:
Up to b4, the additionalLeadingNavigationBarButtonItems were shown next to the back button on the left side, starting with b4 the back button is missing. This is a serious regression, as the picker is barely usable without going back up to the containing folder.

Steps to Reproduce:
1. Have a UIDocumentBrowserViewController as the App’s rootViewController
2. set any additionalLeadingNavigationBarButtonItem

Expected Results:
The additional item, as the name suggests, shows up in addition to the back button, if you drilled down into a folder

Actual Results:
Once you drill down into a folder, there is no visible back button

Version:
iOS 11b4

Notes:
From UIDocumentBrowserViewController.h:

/// An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar

“will be added to the existing buttons” clearly states that it shouldn’t replace the back button.

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!