title: How do you manage the events in a UINavigationController view to switch views?
body: <p>I have a UINavigationController w/ three views and associated buttons in the UINavigationBar for each view. Since I am new to XCode I'm trying to understand where to put the event handling code for managing the switch between views.</p>
  
  <p>View A (root)</p>
  
  <p>Goto View B (button)</p>
  
  <p>View B</p>
  
  <p>Back (button)   Gotto View C (button)</p>
  
  <p>View C</p>
  
  <p>Back (button) </p>
  
  <p>I see how to capture the event when "Goto View B" is clicked, but since that button is created in View A it does not have access to the UINavigationController to switch views.</p>
  
  <p>Any samples or links to additional info appreciated.</p>