UIWebView not loading until refresh button is pressed?
Not sure what my issue is here. When the view is loaded, it displays properly, but the UIWebView doesn't load. Until I hit the refresh button.
The app uses a few different views.This view should open and load a UIWebView when the view is opened. Instead, it just opens to the view, and the webview doesn't load. As soon as the refresh button is hit, the activity indicator starts spinning, the site loads, then it disappears; leaving the loaded site ready to use.
What can I use to call the load request as soon as the view is opened?
Not sure what my issue is here. When the view is loaded, it displays properly, but the UIWebView doesn't load. Until I hit the refresh button.
The app uses a few different views.This view should open and load a UIWebView when the view is opened. Instead, it just opens to the view, and the webview doesn't load. As soon as the refresh button is hit, the activity indicator starts spinning, the site loads, then it disappears; leaving the loaded site ready to use.
What can I use to call the load request as soon as the view is opened?
I dunno exactly what you're trying to do, but I would use the [UIWebview loadRequest:] in the viewWillAppear or viewDidAppear function and see if that works. (you may have already done this, not certain...)