title: Changing the tint colour of elements in UINavigationbar (iOS 11)
body: <p>I have been using this code to change the tint color of element in the navigation bar:</p>
  
  <pre><code>UINavigationBar.appearance().tintColor = theme.labelColor
  </code></pre>
  
  <p>However, this is no longer working in iOS 11. Before iOS 11, buttons in the Navigation Bar were <code>UINavigationButton</code>s, but in iOS 11 they've been changed to <code>_UIModernBarButton</code>. I was able to change their tint color with <code>UIButton.appearance().tintcolor</code>, but that changes every button's.</p>
  
  <p>Here's a comparison:</p>
  
  <p><a href="https://i.stack.imgur.com/ypXhL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ypXhL.png" alt="iOS 10 Vs. 11 UINavigationBar button"></a>
  Anyone has any idea how to change the button tint color in the navigation bar?</p>
  
  <p><strong>UPDATE 01/09/2017:</strong>
  Looks like <code>_UIButtonBarButton</code> has the correct tint color, but <code>_UIModernBarButton</code> overwrites it with the color set for <code>UIButton</code>.</p>
  
  <p><strong>UPDATE 18/09/2017:</strong></p>
  
  <p>"Engineering has provided the following feedback regarding this issue: </p>
  
  <p>UIView.tintColor is not an appearance selector, and specifically is documented as not working correctly as an appearance property due to its inheritance properties."</p>