title: How can I trigger segues modal on condition on button hit in ios 6
body: <p>I have made a button in ViewController1 and triggered that button to Tab controller in action.
  Now I want to make a condition on that button that if text view contain 1 it go to tab controller and if text view contain 2 it go to Navigation Controller.</p>
  
  <p>Any idea?</p>