title: UINavigationController: Simplest Example
body: <p>I'm trying to do very simple example of a UINavigationController. Here is my code:</p>
  
  <pre><code>- (void)viewDidLoad {
    [super viewDidLoad];
  </code></pre>
  
  <p>This next line works, or at least doesn't blow up. </p>
  
  <pre><code>  navController = [[UINavigationController alloc] initWithRootViewController:self];
    self.title = @"blah";
  
    PageOneController *one = [[[PageOneController alloc]init] autorelease];
  </code></pre>
  
  <p>Example 1. THIS LINE DOES NOTHING</p>
  
  <pre><code>  [navController pushViewController:one animated:NO];
  </code></pre>
  
  <p>Example 2. THIS LINE WORKS (but no nav controller, of course)</p>
  
  <pre><code>  [self.view addSubview:one.view];
  }
  </code></pre>
  
  <p><strong>Why am I unable to push ViewController instances onto the navController and see the screen change?</strong></p>
  
  <p><strong>Note:</strong> I realize that I might have my concepts backwards and I don't need to have my view referencing a <code>UINavigationController</code>... or something. </p>