Created
April 2, 2014 17:12
-
-
Save justincbeck/9938574 to your computer and use it in GitHub Desktop.
AppDelegate - Setting the appearance proxies for UIBarButtonItems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// UIBarButtonItem Appearance | |
NSMutableDictionary *barButtonItemAttributes = [NSMutableDictionary dictionary]; | |
[barButtonItemAttributes setValue:[UIFont fontWithName:@"AvenirNextCondensed-Regular" size:20.0] forKey:NSFontAttributeName]; | |
[[UIBarButtonItem appearance] setTitleTextAttributes:barButtonItemAttributes forState:UIControlStateNormal]; | |
[[UIBarButtonItem appearance] setTitleTextAttributes:barButtonItemAttributes forState:UIControlStateHighlighted]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment