In my navigation bar title, the text always appears to be bold and I need to have a thin text. I don't want to use a label with attributed text. So is it possible to change the navigation bar title text from bold to thin?
Asked
Active
Viewed 1,134 times
1
-
2possible duplicate of [How to set font & color of the title in UINavigationBar using iOS5 appearance API?](http://stackoverflow.com/questions/10430298/how-to-set-font-color-of-the-title-in-uinavigationbar-using-ios5-appearance-ap) – Larme Aug 19 '14 at 14:55
1 Answers
2
You can use UIAppearance
NSDictionary *titleAttributes = @{ NSFontAttributeName: [UIFont fontWithName:MY_FONT_HERE] }; [[UINavigationBar appearance] setTitleTextAttributes:titleAttributes];

Kunal Balani
- 4,739
- 4
- 36
- 73
-
@AnandK adjust font using appropriate size. If that doesn't work take the title on a diet. – Kunal Balani Aug 19 '14 at 17:30