Im trying to load a webview into the detailview of a split-view ipad-app.
Problem is, no matter if I try loading it with a local html-file or an external one using a url, I get the same error:
Expected ':' before '.' token
Its driving me nuts, since Im using the exact same code to load a webview in an iphone-app.
Any ideas?
Problem is, no matter if I try loading it with a local html-file or an external one using a url, I get the same error:
Expected ':' before '.' token
Code:
NSString *urlAddress = @"http://www.google.com";
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[DetailViewController.webView loadRequest:requestObj]; // This line gives the error
Its driving me nuts, since Im using the exact same code to load a webview in an iphone-app.
Any ideas?