title: how to create day/night mode for my app
body: <p>I am looking to create a toggle in my application</p>
  
  <p><code>Day  |  Night</code></p>
  
  <p>Day is considered the default setting. When the user selects the <code>Night</code> mode i want all the color of all the UI elements to be <strong><code>inverted</code></strong>. </p>
  
  <p>Here are the kind of elements i mean:</p>
  
  <ol>
  <li>UILabels </li>
  <li>Buttons </li>
  <li>Tabs </li>
  <li>Pickers </li>
  <li>Window Backgrounds </li>
  <li>Everything else that is a UI object</li>
  </ol>
  
  <p>I have tried using the following:</p>
  
  <pre><code>[[UIApplication sharedApplication] keyWindow].tintColor = [UIColor redColor];
  </code></pre>
  
  <p><strong>This has the following issues:</strong></p>
  
  <ol>
  <li>This does change the color of many elements of the app but not
  all. Like for instance it does not change the color of the UILabels</li>
  <li>It does not invert the color. It simply changes the color for all
  the object to a particular value.</li>
  <li>Does not change the background color of the window.</li>
  </ol>
  
  <p>Is this even possible with a quick bit of code?</p>