For one feature in my game I want to load a UIWebView. It would be nice to have the built in "back" button to get back to the game so I want to use the UINavigation controller
here is my code:
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake([Sparrow stage].width/4, [Sparrow stage].height/4, [Sparrow stage].width/2, [Sparrow stage].height/2)];
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];
UIViewController *vc = [[UIViewController alloc] init];
vc.view = webView;
Sparrow.currentController.
UINavigationController *nc = Sparrow.currentController.navigationController;
[nc pushViewController:vc animated:YES];
but nothing shows up.
If I add the UIWebView directly via
Sparrow.currentController.view addSubview: then the view shows up.