Post not yet marked as solved
Post marked as unsolved with 2 replies, 1,678 views
Is there a way to specify where the backBarButtonItem.menu gets its label from for a screen. The WWDC video says that it selects the best from title, backButtonTitle and backbarbuttonItem.title. We want to specify that it comes from backButtonTitle because for some of our screens we set navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
it seems to always use the backBarButton.title if it is there so we are getting an empty string in our back button context menu.