title: Selected Tabbar padding issue
body: <p>I am creating sample project in swift. I have added tabbar controller in this project. I have set selectionIndicatorImage to highlight selected tab. I'm getting extra padding in selected tab.</p>
  
  <p>Here is code for highlight selected tab :</p>
  
  <pre><code>let numberOfItems = CGFloat(tabBar.items!.count)
  let tabBarItemSize = CGSize(width: (tabBar.frame.width / numberOfItems), height: tabBar.frame.height)
  tabBar.selectionIndicatorImage = UIImage.imageWithColor(color: UIColor(red:123.0/255.0, green:31.0/255.0, blue:162.0/255.0, alpha:1.0), size: tabBarItemSize).resizableImage(withCapInsets: UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0))
  </code></pre>
  
  <p>With the use of above code I'm getting output like this,</p>
  
  <p><a href="https://i.stack.imgur.com/GaaqA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GaaqA.png" alt="enter image description here"></a></p>
  
  <p>Any suggestion would be appreciated.</p>
  
  <p>Thanks.</p>