title: Changing font color of UIBarButtonItem
body: <p>I tried to change the font color of the right bar button item to purple, but it still shows up as white. I've consulted this <a href="https://stackoverflow.com/questions/26917055/uibarbuttonitem-change-the-textcolor">question</a> and this <a href="https://stackoverflow.com/questions/34602794/how-to-change-tintcolor-of-uibarbuttonitem-swift">question</a>. How do I fix this?</p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>let sortButton = UIButton(frame: CGRect(x: 0, y: 0, width: 34, height: 15))
      sortButton.setTitle("SORT", for: .normal)
      sortButton.titleLabel?.tintColor = UIColor.myMusicPurple
      sortButton.tintColor = UIColor.myMusicPurple        
      navigationItem.rightBarButtonItem =  UIBarButtonItem(customView: sortButton)
      navigationItem.rightBarButtonItem?.tintColor = UIColor.myMusicPurple
  </code></pre>