I have a Navigation Controller app and i'm using this code to switch views:
- (IBAction)switchPage:(id)sender
{
if(self.fourthViewController == nil)
{
FourthViewController *fourthView = [[FourthViewController alloc]
initWithNibName:@"FourthView" bundle:[NSBundle mainBundle]];
self.fourthViewController = fourthView;
[fourthView release];
}
[self.navigationController pushViewController:self.fourthViewController animated:YES];
}
However I want to have a button that can go to an alternate view that is a UIWebview, My goal is to not leave the app so when user is done on the web page, the navigation controller never goes away and they can proceed to the next view. Soes anyone know of a tutorial that can help? I started with this (http://www.iphonesdkarticles.com/2008/08/uiwebview-tutorial.html) but it is a standalone app/tutorial and I'm having trouble integrating it into a Nav based app.
Thanks