Hi there,
With the release of iOS 11, we want to support hr LargeTitleText in our app. Before; we used our own font for the label in the Navigation Bar.
Is it possible to use the same (custom) font for LargeTitleText?
Thanks in advance,
Rick
Hi there,
With the release of iOS 11, we want to support hr LargeTitleText in our app. Before; we used our own font for the label in the Navigation Bar.
Is it possible to use the same (custom) font for LargeTitleText?
Thanks in advance,
Rick
Hi,
Just like you can already set the titleTextAttributes of the appearance proxy of UINavigationBar, you can now set the largeTitleTextAttributes to this end ; of course, you can also do it on a specified UINavigationBar if you don't want to change it app-wide.
// Swift 4 - Appearance Proxy
UINavigationBar.appearance().largeTitleTextAttributes = [.font : UIFont.preferredFont(forTextStyle: .title2)]
Thanksss!
You are very welcome 😊