View Full Version : UIViewController with multiple .xib views

Jul 30, 2008, 11:41 PM
Hi All:

Is this even possible? I created my 'View-Based application' in Xcode and that loads a default view/view controller, but can I launch another view (load and show), say when a button is pressed?

This is what I tried to do:
-(IBAction) press: (id)sender {
self.view = [[UIView alloc] initWithNibName:@"secondView" bundle:nil];