Skip to content

Instantly share code, notes, and snippets.

@yeonsh
Created May 9, 2011 06:09
Show Gist options
  • 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