Switching Content Views Issue
<p>I'm attempting to switch views with an iPhone application- I have a parent view controller, <code>SuperviewController</code>, and then two views that I want to switch within that parent view, <code>MainMenuController</code> and <code>MainGameController</code>.</p>

<p>*<strong><em>EDIT</em>*</strong>: I am now using navigation controllers:</p>

<h2><strong>SuperviewController.m</strong></h2>

<p><strong>viewDidLoad</strong><br>
<code>self.mainMenuController = [[MainMenuController alloc] initWithNibName:@"MainMenu" bundle:nil];</code><br>
<code>[[self navigationController] pushViewController:self.mainMenuController animated:NO];</code><br>
<strong>switchToMainGame</strong><br>
<code>self.mainGameController = [[MainGameController alloc] initWithNibName:@"MainGame" bundle:nil];</code><br>
<code>[[self navigationController] pushViewController:self.mainGameController animated:NO];</code>  </p>

<p>The app loads correctly with the mainMenu.xib. However, when calling <strong>switchToMainGame</strong>, nothing happens- it's as if XCode forgot what mainGameController is.</p>

<p>Thanks for any help.</p>
