title: loading a Navigation Controller from a button
body: <p>I Have a view with a button. I want to press the button and that a Navigation Controller will appear, and in it there will be a back button that will bring me to the original view.</p>
  
  <p>this is how i load the Navigation Controller:</p>
  
  <p><code></p>
  
  <p>-(IBAction) viewButtonPressed:(id) sender <br>
  { <br>
  [self.view addSubview:navController.view];<br>
  [self.view bringSubviewToFront:navController.view];<br>
  }
  </code></p>
  
  <p>in the rootController of the NAvagtion Controller I tried this, but it does not work (the back button does not even appear):</p>
  
  <p><code>
  @implementation rootViewController <br>
  - (void)viewDidLoad { <br>
  self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemEdit target:self action:@selector(customGoBack:)]; <br>
  }
  </code></p>