I have a setup as such:
self.webView = WKWebView(frame: frame, configuration: WKWebViewConfiguration()) self.externView = UIView(frame: frame) self.externWeb
Run the hide/show code on the UI thread
dispatch_async(dispatch_get_main_queue()) { WKExteralLoader.webView!.hidden = false; WKExteralLoader.externView!.hidden = true; }