iOS WebView All In One WKWebView / UIWebView Swift Playground //: A UIKit based Playground for presenting user interface import PlaygroundSupport import UIKit import WebKit class ViewController: UIViewController, WKUIDelegate { var webView: WKWebView…
本文简单介绍下在IOS中,webView的基本用法,也顺便强化下自己的基础知识----天明少羽爬楼梯 一.加载外部HTML 显示webView 报错:NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802) 或者 App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insec…