Skip to content

Instantly share code, notes, and snippets.

@jonfriskics
Created March 5, 2014 03:34
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jonfriskics/9360674 to your computer and use it in GitHub Desktop.
Save jonfriskics/9360674 to your computer and use it in GitHub Desktop.
UIImagePickerController tints
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
// for light navigation item text, or UIBarStyleDefault for dark navigation item text
imagePickerController.navigationBar.barStyle = UIBarStyleBlack;
// the actual color will be affected by the translucency setting
imagePickerController.navigationBar.barTintColor = [UIColor blueColor];
// default is YES, but you could change to NO
imagePickerController.navigationBar.translucent = YES;
// left/right bar button tint color
imagePickerController.navigationBar.tintColor = [UIColor orangeColor];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment