title: how to make UITabBar selection indicator image fill the whole space?
body: <p>I have a UITabBarController where I use this code to set selection indicator image:</p>
  
  <pre><code>let selectedBG = UIImage(named:"tabbarbgtest.png")?.resizableImageWithCapInsets(UIEdgeInsetsMake(0, 0, 0, 0))
  UITabBar.appearance().selectionIndicatorImage = selectedBG
  </code></pre>
  
  <p>But the image does not fill the whole space - see image below:</p>
  
  <p><a href="https://i.stack.imgur.com/1bWrd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1bWrd.png" alt="enter image description here"></a></p>
  
  <p>The image is just a red square with a solution on 82x49px, but with a wider image it still does not fill the whole space. Hope you guys can help - thanks.</p>