1. iSkythe's Avatar
    The app I am currently making requires the ability to load new views constantly, but via the press of a Round Rect Button.

    Every tutorial I have come across shows how I can do it via Navigational bars, Tabs, etc., just not the way I want.

    Does anyone know how to do this?
    06-26-2009 08:57 PM
  2. leftspin's Avatar
    Can you describe more about exactly how you want this to happen?
    07-03-2009 12:40 PM
  3. iSkythe's Avatar
    Never mind, I figured it out.

    Thanks for the help though.


    //Lazy load - we load Question1 the first time the button is pressed
    if (self.question1ViewController == nil)
    Question1ViewController *question1Controller = [[Question1ViewController alloc] initWithNibName:@"Question1View" bundle:nil];
    self.question1ViewController = question1Controller;
    advanceButton.hidden = YES;
    wrongButton.hidden = YES;
    wrongButton2.hidden = YES;
    wrongButton3.hidden = YES;
    [question1Controller release];

    [titleViewController.view removeFromSuperview];
    [self.view insertSubview:question1ViewController.view atIndex:1];
    07-05-2009 09:21 AM