Skip to content

Instantly share code, notes, and snippets.

@yeonsh
Created May 9, 2011 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yeonsh/962129 to your computer and use it in GitHub Desktop.
Save yeonsh/962129 to your computer and use it in GitHub Desktop.
Change UINavigationBar Button Color
for (UIView *view in self.navigationController.navigationBar.subviews) {
NSLog(@"%@", [[view class] description]);
LOG_EXPR([[view class] description]);
if ([[[view class] description] isEqualToString:@"UINavigationButton"]) {
[(UINavigationButton *)view setTintColor:[UIColor brownColor]];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment