UINavigationController and large titles when popping ViewController

Viewed 318

I have a UINavigationController which has its navigationBar configured to prefersLargeTitles = true and isTranslucent = false.

The first view controller in the navigation stack is a UITableViewVontroller with its navigationItem configured as largeTitleDisplayMode = .always. If I push a further view controller with largeTitleDisplayMode = .never and pop it again, the first view controller is in a state where the large title is collapsed. I have to scroll up to enlarge the title again.

Is this intentional behaviour of iOS 14? Is there a way to restore the large title?

Edit: I just realized, that the behaviour is tied to the isTranslucent property of the navigation bar.

0 Answers
Related