为了加载网址,我尝试将.loadRequest与webview连接,但没有这样的loadRequest。有没有人知道为什么会发生这种情况?
func configurationView(){
if let webData: Web = self.detailItem {
if let webView = self.WebView {
let url = NSURL(string: webData.url)
let urlRequest = NSURLRequest(URL: url!)
(here I am trying to dp WebView.loadRequest(urlRequest), but I cannot!)
}
}
}