title: Changing the Tint Color of UIBarButtonItem
body: <p>I have a project using Storyboards and whenever I push a view controller with a segue, the dynamically created bar button item is always blue.</p>
  
  <p><img src="https://i.stack.imgur.com/GL6kJ.png" alt="enter image description here"></p>
  
  <p>It's driving me nuts. Because this object is created dynamically, I cannot set its color in IB (like I have done with previous bar button items).</p>
  
  <p>Among the solutions I have tried are:</p>
  
  <ol>
  <li>Set it in the receiver's <code>viewDidLoad</code></li>
  <li><p>Set it in the receiver's <code>viewDidAppear</code></p>
  
  <p><code>self.navigationItem.backBarButtonItem.tintColor = [UIColor whiteColor];</code></p></li>
  <li><p>When I saw that didn't quite work, I tried setting the leftBarButtonItem instead:</p></li>
  </ol>
  
  <p><code>self.navigationItem.leftBarButtonItem.tintColor = [UIColor whiteColor];</code></p>
  
  <ol start="4">
  <li><p>I have tried the following code (which I got from other SO answers) in my app's delegate, when the new view gets called, and before pushing the new view:</p>
  
  <p><code>[[UIBarButtonItem appearance] setTintColor:[UIColor whiteColor]];</code></p></li>
  </ol>
  
  <p>All the google answers I have found recommend to use the code above, but it's not working at all for me. Maybe there are some changes in iOS 7's appearance API? No matter how or where I try to set "Categorías" to white, it's always the default blue.</p>