How to add Activity Indicator to WKWebView (Swift 3)
问题 I have a wkwebview in my app, and I want to add an activity indicator to it. I want it to where it appears when the webview is loading and disappears whenever it is finished loading, it disappears. Can you give me some code to do this? Here's my code right now: @IBOutlet weak var Activity: UIActivityIndicatorView! var webView : WKWebView! @IBOutlet var containerView: UIView? = nil override func viewDidLoad() { super.viewDidLoad() guard let url = URL(string: "http://ifunnyvlogger.wixsite.com