title: How to add spacing to Left BarButtonItem Image with Swift 3
body: <p>I would like to <strong>add space to the left</strong> of the bar button.<br><br>
  <a href="https://i.stack.imgur.com/b2esO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b2esO.jpg" alt="enter image description here"></a></p>
  
  <p>So, I add this code.<br></p>
  
  <pre><code>    navbar.autoresizingMask = [.flexibleWidth, .flexibleBottomMargin, .flexibleRightMargin]
      navbar.delegate = self
  
      UINavigationBar.appearance().barTintColor = UIColor(red: 0.0/255.0, green:49.0/255.0, blue:79.0/255.0, alpha:0.1)
  
      UINavigationBar.appearance().tintColor = UIColor.white
      UINavigationBar.appearance().isTranslucent = true
      UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName : UIColor.white]
  
      navItem.title = prefs.value(forKey: "PROVIDER_NAME") as! String?
      let image = UIImage(named: "back_image")
      navItem.leftBarButtonItem = UIBarButtonItem(image: image, style: .plain, target: self, action: #selector(addTapped))
  </code></pre>
  
  <p>After adding this code, the button image does not show well and looks no good. <br><br>
  <a href="https://i.stack.imgur.com/AmpNj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AmpNj.jpg" alt="enter image description here"></a></p>
  
  <p>Could anyone help me to solve this problem?</p>