... with a button outside of the uiwebvi开发者_运维百科ew? please see screenshot attached.
the thing is, that I have a local html site in the webview, that goes to further local web sites. I want the user to be able to get back to the "home page" of the local website by clicking on the "home" button on the top, which is not part of the uiwebview.
(my xcode status is beginner.)
thanks for help.
You can refresh the webview by calling loadRequest method under the UIWebView class.
[webView loadRequest:[NSURLRequest requestWithURL:theURL]];
You have to pass your url in theURL. So, you will get the refreshed page.
加载中,请稍侯......
精彩评论