I am using the UIWebView from IB into a UIViewController.
I have the load the UIWebView with below code:
Code:
- (void)viewDidLoad {
NSURL *theURL = [NSURL URLWithString:@"http://www.OurLovingMother.org/Mobile.aspx"];
[webView loadRequest:[NSURLRequest requestWithURL:theURL]];
}
I have tried to add [webView reload]; also above but the view does not refresh. The UIWebView always shows the previous viewed portion of the web page.
Any ideas?