title: How to show a different view page for a same tab bar item?
body: <p>I have created a <code>UITabBarController</code> in a storyboard.
  Three different <code>UIViewController</code>s are manually segued to each of tab bar item.
  What I want is direct to a different view controller for one tab bar item.</p>
  <p>For example, I have a myProfile tab bar item at index 2 and I would like to show login page for unregistered user, profile page for a normal user, and a profile page with additional functions for an admin user.</p>
  <p>I would like to set the third tab bar item to direct either login_view(second right) or profile_view(the most right) depending on a condition. How should i do this?</p>
  <p><a href="https://i.stack.imgur.com/7prbY.png" rel="nofollow noreferrer">my storyboard</a></p>