Created
April 18, 2017 23:53
-
-
Save tsraveling/a267aced5ae4256c562b5b6e379367d0 to your computer and use it in GitHub Desktop.
UIWebView delegate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // MARK: - UIWebView delegate - | |
| func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebViewNavigationType) -> Bool { | |
| return true | |
| } | |
| func webViewDidStartLoad(_ webView: UIWebView) { | |
| } | |
| func webViewDidFinishLoad(_ webView: UIWebView) { | |
| } | |
| func webView(_ webView: UIWebView, didFailLoadWithError error: Error) { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment