Posted By

sag333ar on 12/14/10


Tagged

iphone uitabbarcontroller


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

sag333ar
synced
wpellis
cnathan


Modify UITabBarController "More" & "Configure" color


 / Published in: Objective C
 

  1. // code for changing the "more" color.
  2.  
  3. tBarDashboard.moreNavigationController.navigationBar.tintColor=[UIColor colorWithRed:30/255.0 green:103/255.0 blue:7/255.0 alpha:1.0];
  4.  
  5. // code for changing the "configure" color.
  6.  
  7. - (void)tabBarController:(UITabBarController *)controller willBeginCustomizingViewControllers:(NSArray *)viewControllers {
  8. UIView *editView = [controller.view.subviews objectAtIndex:1];
  9. UINavigationBar *modalNavBar = [editView.subviews objectAtIndex:0];
  10. modalNavBar.tintColor = [UIColor colorWithRed:30/255.0 green:103/255.0 blue:7/255.0 alpha:1.0];
  11. }

Report this snippet  

You need to login to post a comment.