title: Change tint color of UIAlertview and UIActionsheet buttons
body: <p>I am trying to adapt my application for iOS 7. The issue I am having is I can not change the tint color of some controls. </p>
  
  <p>I did add </p>
  
  <pre><code>self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
  if (IOS7_OR_LATER)
      self.window.tintColor = [self greenTintColor];
  </code></pre>
  
  <p>to my app delegate's</p>
  
  <pre><code>           - (BOOL)application:(UIApplication *)application
   didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  </code></pre>
  
  <p>It mostly helped but color of message box and action sheet buttons is still the default blue. </p>
  
  <p><em>How can I recolor all such buttons too?</em></p>
  
  <p>Some screenshots:</p>
  
  <p><img src="https://i.stack.imgur.com/2rrvq.png" alt="iOS7 message box">
  <img src="https://i.stack.imgur.com/vpFFc.png" alt="iOS7 action sheet"></p>