UINavigationController and presentModalViewController
<p>I have a application combined with TabController and UINavigationController.</p>

<p>When a button is pressed, I want to pop up another window with its own UINavigationController.</p>

<pre><code>-(void) buttonPushed: (UIBarButtonItem *) myButton
{

    MyNavigationController *controller = [[MyNavigationController alloc] initWithNibName:@"MyNavigationController" bundle:nil];

    MyDelegate *appDelegate = (MyAppDelegate*) [[UIApplication sharedApplication] delegate];    
    [appDelegate.rootController presentModalViewController:controller animated:YES];
}
</code></pre>

<p>The window shows, but I got an complete blank navigation bar and I don't see 
my modification of title in nib file. </p>

<p>I guess there is something wrong when I set the nib because when I replace the navigation controller with an basic view controller one, it loads OK. </p>

<p>So any idea what goest wrong?</p>
