I am trying to adapt my application for iOS 7. The problem I am encountering is that I cannot change the color of the shades of some controls.
I added
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; if (IOS7_OR_LATER) self.window.tintColor = [self greenTintColor];
for my application delegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
This basically helped, but the color of the message box and worksheet buttons still remains blue by default.
How can I recolor all such buttons?
Some screenshots:


ios objective-c cocoa-touch ios7 uialertview uiactionsheet
Bobrovsky
source share