Large navigations bars were displayed by default but it suddenly changed to smaller title, probably in a recent update. I'm experience this issue with UICollectionViewController
even though to confirm, I add the following code to the viewDidLoad
method.
self.navigationController?.navigationBar.prefersLargeTitles = true
self.navigationItem.largeTitleDisplayMode = .always;
Any leads appreciated! :)
I referred to iOS 11 large-title navigation bar not collapsing and although Apple has resolved the OPs issue, they introduced a new bug wherein if you set prefersLargeTitle
and c
via code, it results in large titles being displayed only when you manually scroll up.
Fix:
largeTitleDisplayMode
via storyboardlargeTitleDisplayMode
as "Automatic" via storyboardIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With