title: Navigating to another view using the UINavigationController
body: <p>I'm using the <code>UINavigationController</code> in my app and for some reason it won't allow me to switch  pages to the <code>third xib</code> called CompanyView.  It switches fine from first to second but not second third. I'm probably doing something wrong but if someone could look over my code that would be great.  I've got the button set correctly I believe. 
  Here is my <code>.h file</code> for the <code>xib</code> that won't change view:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "CompanyView.h"
  
  @interface MenuView : UIViewController
  
  -(IBAction)btnClicked:(id)sender;
  
  @end
  </code></pre>
  
  <p>Here is my code for the <code>.m file</code>:</p>
  
  <pre><code>#import "MenuView.h"
  
  @implementation MenuView
  
  -(IBAction)btnClicked:(id)sender {
  
      CompanyView * companyView = [[CompanyView alloc] init];
  
      companyView.title = @"Company";
  
      [self.navigationController pushViewController:companyView animated:YES];
  
      [companyView release];
  }
  
  
  
  - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  {
      self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
      if (self) {
          // Custom initialization
      }
      return self;
  }
  
  - (void)didReceiveMemoryWarning
  {
      // Releases the view if it doesn't have a superview.
      [super didReceiveMemoryWarning];
  
      // Release any cached data, images, etc that aren't in use.
  }
  
  #pragma mark - View lifecycle
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view from its nib.
  }
  
  - (void)viewDidUnload
  {
      [super viewDidUnload];
      // Release any retained subviews of the main view.
      // e.g. self.myOutlet = nil;
  }
  
  - (BOOL)shouldAutorotateToInterfaceOrientation:    
  (UIInterfaceOrientation)interfaceOrientation
  {
      // Return YES for supported orientations
      return (interfaceOrientation == UIInterfaceOrientationPortrait);
  }
  
  @end
  </code></pre>