title: how to connect multiple views to a single tab bar item in swift?
body: <p>I have a tab bar controller which has two items connected to two view controllers(say A &amp; B) now I want to add a 3rd view controller (say C). But I don't want to add a third icon in tab view. When the user select the second icon it should render B or C depending on whether user has signed in or not.</p>
  
  <p><a href="https://i.stack.imgur.com/fnKQC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fnKQC.png" alt="Storyboard Setup"></a></p>