title: How to programmatically navigate around a navigationController stack?
body: <p>I am just wondering how I could programmatically navigate around a navigationController stack? </p>
  
  <p>I am familiar with the method:</p>
  
  <pre><code>  [self.navigationController popToRootViewControllerAnimated:YES];
  </code></pre>
  
  <p>as well as:</p>
  
  <pre><code>  [self.navigationController popViewControllerAnimated:YES];
  </code></pre>
  
  <p>But could programatically go to ANY view controller in my navigation controller? </p>
  
  <p>Please see my pic:</p>
  
  <p><a href="http://s18.postimage.org/iq1l4f721/test_xcodeproj_Main_Storyboard_storyboard.jpg" rel="nofollow">http://s18.postimage.org/iq1l4f721/test_xcodeproj_Main_Storyboard_storyboard.jpg</a>?</p>
  
  <p>I know I can segue to any view using the storyboard but am I right in thinking this would keep pushing new views onto the stack and eventually (in theory) I would run into problems?</p>
  
  <p>Thanks</p>
  
  <p>Carl.</p>