title: How to handle UITabbarItem menu Items with Custom Buttons
body: <p>I having an Application with different tabs(with different ViewControllers).
  I have used <strong>UITabbarController and hide the tabbar</strong>, Initially 4 tabs are there. some times I need to show only 2 or 3 different tabs. How can I hide this with buttons(with tabBar selected index).</p>
  
  <p><strong>4 tabs</strong></p>
  
  <p><img src="https://i.stack.imgur.com/vm7xa.png" alt="enter image description here"></p>
  
  <p><strong>3 other tabs</strong></p>
  
  <p><img src="https://i.stack.imgur.com/KzSND.png" alt="enter image description here"></p>
  
  <p><strong>2 tabs</strong></p>
  
  <p><img src="https://i.stack.imgur.com/Rf6H0.png" alt="enter image description here"></p>