title: How can I hide the back arrow in the navigation bar's back button?
body: <p>I have a navigation controller for which I'd like to override the default back arrow image and text. Basically, instead of the <code>&lt; Back</code>, I'd like to hide the little <code>&lt;</code> arrow, and just show the <code>Back</code> text. I've been able to replace the back arrow with another image, so I figured i'd just try to replace it with an image and then set the image to match the color of the background. How can I accomplish this?</p>
  
  <p>In AppDelegate.swift I have this:</p>
  
  <pre><code>extension UINavigationItem{
      override open func awakeFromNib() {
          super.awakeFromNib()
          let backItem = UIBarButtonItem()
          backItem.title = ""
          backItem.image = UIImage(named: "icons8_burger")
          self.backBarButtonItem = backItem
      }
  }
  </code></pre>
  
  <p>In the viewDidLoad() for the controller that we are sent to when the button is clicked, I have this:</p>
  
  <pre><code>override func viewDidLoad() {
          super.viewDidLoad()
          let burger = UIImage(named: "icons8_burger")
  
          navigationController?.navigationBar.backIndicatorImage = burger
          navigationController?.navigationBar.backIndicatorTransitionMaskImage = burger
      }
  </code></pre>
  
  <p>So, any ideas how I can accomplish this? I haven't found what I'm looking for thus far.</p>
  
  <p>Any advice appreciated!</p>