title: How to remove Tabbar Item in swift 3
body: <p>I've 5 UIViewcontroller in my UITabbarController but I need the show 4 of them in tabbar so I'm trying to remove last tabbar item from UITabbarController. </p>
  
  <pre><code>self.tabBarController?.tabBar.items?.removeLast()
  </code></pre>
  
  <p>But I'm getting this error. </p>
  
  <blockquote>
    <p>Directly modifying a tab bar managed by a tab bar controller is not
    allowed</p>
  </blockquote>
  
  <p>So how can I remove last tabbar item from tabbar ?</p>