views:

10

answers:

1

Hi all,

I am trying to load a navigation controller after a home page, so on the home page I have an action that is triggered when a icon is clicked:

- (IBAction)showContact:(id)sender {

    ContactViewController *Contactcontroller = [[[ContactViewController alloc] initWithNibName:@"ContactView" bundle:nil] autorelease];
    Contactcontroller.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
    [self presentModalViewController:Contactcontroller animated:YES];

}

This then loads the navigation controller view, but in interface builder I can't set the view as navigation controller, so have added a view along side the nav controller, but how would I load this into the view?

Sorry if newbie question...

A: 

In the end I created a new project and had it all as a navigation based app, this way on the home screen I managed to hide the Navigation Controller, and then pushed the new views in. This seemed the easiest way to achieve what I wanted.

jimbo