我想在UIWebView中显示此页面的一部分 - https://focus.kontur.ru/search?query=finance
要下载的块:div class =“block search-block”> ...
我该怎么做?
现在我这样做:
@IBOutlet weak var webView: UIWebView!
let url = URL(string: "https://focus.kontur.ru/search?query=finance")
let requestObj = NSURLRequest(url: url!)
webView.loadRequest(requestObj as URLRequest)