Created
October 25, 2012 21:01
-
-
Save vickeryj/3955375 to your computer and use it in GitHub Desktop.
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
[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"navbar_background.png"] forBarMetrics:UIBarMetricsDefault]; | |
[[UINavigationBar appearance] setBarStyle:UIBarStyleBlackOpaque]; | |
[[UINavigationBar appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"Helvetica-Bold" size:14], UITextAttributeFont, [UIColor colorWithWhite:0.25 alpha:1.0], UITextAttributeTextColor, [UIColor colorWithWhite:0.75 alpha:1.0], UITextAttributeTextShadowColor, [NSValue valueWithUIOffset:UIOffsetMake(0, 1)], UITextAttributeTextShadowOffset, nil]]; | |
[[UINavigationBar appearance] setTitleVerticalPositionAdjustment:5.f forBarMetrics:UIBarMetricsDefault]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment