ios7uicolortintcolor

Change global tint color - iOS7/iOS8


How can we change the global tint color on iOS7/iOS8 by code? I want to change multiple objects that use this property, but not change each one, that's why I want to use the global tint property.


Solution

  • Simply change the UIWindow 's tintColor in your application delegate, it's automatically passed as default to all its UIView descendants.

    [self.window setTintColor:[UIColor greenColor]];