iOS 14 Navigation Menu

I'm trying to make use of the new back button menu.

In our app our standard back buttons typically don't have a title, so the UI just displays the <

But, we would like titles displayed in the menu.

I have tried setting
Code Block
navigationItem.backButtonTitle
but that did not appear to do anything.

If I set the title to
Code Block
navigationItem.backBarButtonItem?.title
then the title appears in both the menu as well as the UI. Then setting
Code Block
navigationItem.backButtonDisplayMode = .minimal
(autocomplete says "Don't use a title, just the back button indicator image") also appears to do nothing, as the title is still displayed in the UI

Is this just a bug or do I need to do something else? The end goal is to have a useful menu with titles, but have a minimal back button displayed in the navigation bar.

Thanks
This appears to be the case when you set a button with
Code Block
navigationItem.backBarButtonItem


Now the display mode and title are ignored. Is this as designed or a bug?

I would like to be able to customize the back button as well as the navigation menu independently.

iOS 14 Navigation Menu
 
 
Q