title: Changing between Views in iOS
body: <p>I am making my first iOS application, it is for the iPad. It is a memorization game. It has cover page with a couple of options and depending on the option you choose it sends you different page/view. Throughout the application, the user will be traveling through different pages/views. The entire interface for the application will be custom made, so i want have the navigation bars or anything.  I am using xCode 3.2.5. I have created the views in the interface builder. And I have attached the cover page to the app, so after the splash page it appears. </p>
  
  <p>How do I go about switching between views? </p>
  
  <p>Thanks for any help you can give me. </p>
  
  <p>Edit 1:</p>
  
  <p>Here is some code that I think is pertinent </p>
  
  <p>This is the AppDelegate.m file, I left out the methods I did not edit</p>
  
  <pre><code>@synthesize coverController=_coverController;
  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
  
  // Override point for customization after application launch.
  cover *aCoverController = [[cover alloc] initWithNibName:@"cover" bundle:nil];
  self.coverController = aCoverController;
  // Or, instead of the line above:
  // [self setcover:aCoverController];
  [aCoverController release];
  
  self.window.rootViewController = self.coverController;
  [self.window makeKeyAndVisible];
  
  return YES;
  }
  
  - (void)dealloc {
  
  [managedObjectContext_ release];
  [managedObjectModel_ release];
  [persistentStoreCoordinator_ release];
  [_coverController release];
  
  [window release];
  [super dealloc];
  }
  </code></pre>