title: Is it possible for a button to open into a specific tab when using the Tab Bar Controller?
body: <p>The question is a little confusing to articulate so hopefully an image will be a little more helpful. Here's the setup:</p>
  
  <p><a href="https://i.stack.imgur.com/RLNPT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RLNPT.png" alt="enter image description here"></a></p>
  
  <p>So, I want the <em>First View</em> button to open the <code>FirstViewController</code>, and I want the <em>Second View</em> button to open the <code>SecondViewController</code>. If I link the <em>Second View</em> button to the <code>SecondViewController</code> like this:</p>
  
  <p><a href="https://i.stack.imgur.com/6ZKAt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6ZKAt.png" alt="enter image description here"></a></p>
  
  <p>I lose the tab navigation. And if I connect the button to the <code>TabViewController</code> like this:</p>
  
  <p><a href="https://i.stack.imgur.com/FC3VY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FC3VY.png" alt="enter image description here"></a></p>
  
  <p>then it will automatically open into the <code>FirstViewController</code>. Unless I'm missing something, it seems like this would need to be done with a little extra code but I cannot seem to find anything that explains how to do this.</p>
  
  <p>Thank you!</p>