title: Setting background colour of active tab - swift
body: <p>I've been attempting to customise the background colour of the active tab, via <a href="https://stackoverflow.com/questions/29045147/set-background-color-of-active-tab-bar-item-in-swift">this post</a>. It works pretty well, but I get a very odd 1px line on each of the tabs when they're selected - this only occurs when I start the app in portrait mode and then turn it landscape.</p>
  
  <p>Am I missing something?</p>
  
  <p><a href="https://i.stack.imgur.com/Q2OK1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q2OK1.png" alt="enter image description here"></a></p>