I need to utterly take away title from again button in UINavigationBar.
I discovered that since iOS 14.0 it may possibly e achieved by including backButtonDisplayMode to high merchandise – navigationBar.topItem?.backButtonDisplayMode = .minimal. I made it inside my subclass of UINavigationController in technique viewWillLayoutSubviews and it labored like a attraction. However there is a matter solely on first launch of an app – once I push a brand new viewController to navigation stack the title of again button is on it is place. And after that the whole lot turns into advantageous and title disappears on each pushing to navigation stack, even after relaunch of an utility
First launch
Each different launches
The code of UINavigationController subclass:
public class MyNavigationController: UINavigationController {
public override func viewWillLayoutSubviews() {
tremendous.viewWillLayoutSubviews()
navigationBar.topItem?.backButtonDisplayMode = .minimal
}
}

![iOS UINavigationBar provides title to again button [closed] iOS UINavigationBar provides title to again button [closed]](https://i.sstatic.net/pBc6OPEf.png)

