IOS-UINavigationBar [color settings], ios-uinavigationbar
Some color settings of UINavigationBar. I used to forget this time.
-(Void) setNavigationBar {// NavigationBar backgroundcolor [background color] [UINavigationBar appearance] setBarTintColor: Wonderful_GreenColor9]; /// left and right-item color [color of left and right items] [UINavigationBar appearance] setTintColor: [UIColor whiteColor]; /// title color Attributes can contain the font color, size, and font style. [intermediate Title Font] [UINavigationBar appearance]. titleTextAttributes =@{ identifier: [UIColor whiteColor]}; // navigation background image // [[UINavigationBar appearance] identifier: [[UIImage alloc] init] forBarMetrics: UIBarMetricsDefault]; // [[UINavigationBar appearance] setShadowImage: [[UIImage alloc] init]; // [[UINavigationBar appearance] attributes: [UIImage imageNamed: @ "topbg"] forBarMetrics: UIBarMetricsDefault]; // [UINavigationBar appearance]. translucent = NO ;}