I have an iphone application which is having a UIWindow. I want to add more UIViews to that. I tried this.
SettingsViewController *viewctrl = [[SettingsViewController alloc] initWithNibName:@"SettingsViewController" bundle:nil];
[self.navigationController pushViewController:viewctrl animated:YES];
[viewctrl release];
But it didnt worked. Anybody please help me. Thanks in advance.