Hello...
I'm trying to get a webpage to load inside of my application but the page never seems to load.
I am loading my webView controller when the user select a row from my tableView
I have the view loading and my title is changin according to my script but i don't know whta i'm missing to make the webpage load in my UIWebView.
here is the code i've got...
Code:
Item *item = (Item *)[blogEntries objectAtIndex:indexPath.row];
NSString *itemLink = @"http://www.google.ca";
NSURL *url = [NSURL URLWithString:itemLink];
NSURLRequest *requestUrl = [NSURLRequest requestWithURL:url];
NSString *itemName = item.title;
WebViewController *webView = [[WebViewController alloc] initWithNibName:@"WebViewController" bundle:nil];
webView.title = itemName;
[webView.webPage loadRequest:requestUrl];
[self.navigationController pushViewController:webView animated:TRUE];
[webView release];
I've checked in teh debugger and all my variable are set properly but still all i get a white screeen that i can scroll but there is nothign there to scroll, no webpage...
Any help anyone can provide is greatly apreciated...