I have two view controller in a navigation controller. The root view controller has small title and the next view controller has large title.
When I push the next view controller, I set
self.navigationItem.largeTitleDisplayMode = .always
In the viewDidLoad of next view controller. The problem is, when transitioning it shows the title as small for a moment and then the title becomes big. But I just want to show the big title. I tried setting the title text in ViewDidAppear, it kind of works but the title appears late. I don't want that too.
Say you are doing something like this in vc1
So try to set the property before pushing the viewcontroller