title: Remove UITabBar line not working
body: <p>I would like to remove the separator of UITabBar. I have set custom background image for UITabBar. With the following code the separator is above UITabBar image.</p>
  
  <pre><code>class myTabBarController: UITabBarController {
  
      override func viewDidLoad() {
                  UITabBar.appearance().backgroundImage = UIImage(named: "secretTab.png")
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/rbN8l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rbN8l.png" alt="enter image description here"></a></p>
  
  <p>I have added following code but it removed not only line but also custom image.(shadow)</p>
  
  <pre><code>    class myTabBarController: UITabBarController {
  
          override func viewDidLoad() {
              self.tabBar.clipsToBounds = true
              self.tabBarController?.tabBar.autoresizesSubviews = false
              UITabBar.appearance().backgroundImage = UIImage(named: "secretTab.png")
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mw3sz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mw3sz.png" alt="enter image description here"></a></p>