How to hide / disable tab bar item in swift
<p>I have a five tab, tab bar controller in my app, and I want to only show the 5th item if a manager is logged into the app (instead of employee).</p>

<p>I currently have this code which disables the 5th item but I can still see it (its just grayed out and is not clickable).</p>

<pre><code>self.tabBarController!.tabBar.items![4].enabled = false
</code></pre>

<p>Is there a way to only show the first four items and evenly space them if a non manager is logged in?</p>