Comment puis-je ajouter un UINavigationController à vue dans le code?

view1 = [[View1 alloc] init];   //Create the first view
UINavigationController *navigationController1 = [[UINavigationController alloc] initWithRootViewController:view1];
navigationController1.navigationBar.tintColor =[UIColor blackColor];

Vue1 est hériter de UIViewController. J'ai donc créer un *vue1, puis-je créer un UINavigationController, appel *navigationController1. Comment faire pour relier les deux ensemble? Merci beaucoup

OriginalL'auteur Thang Pham | 2010-02-17