
I have a UIBarButtonItem in my UIToolbar titled
To do this for some UIBarButtonItems but not all I recommend the following approach.
UIBarButtonItem subclass. Don't add anything to it - you will only use it as a custom class in the storyboard and for its appearance proxy...UIBarButtonItems to your subclassUIBarButtonItem subclass and add the following line to application:didFinishLaunchingWithOptions:In my case I subclassed UIBarButtonItem for the sole purpose of bolding the text:
[[BoldBarButtonItem appearance] setTitleTextAttributes:
[NSDictionary dictionaryWithObjectsAndKeys:
[UIFont boldSystemFontOfSize:18.0], NSFontAttributeName,nil]
forState:UIControlStateNormal];