Created
June 27, 2017 02:03
-
-
Save movii/0cbeb4041c5c2b08eedca473dc4ddbcf to your computer and use it in GitHub Desktop.
笔记:iOS 与 JavaScript 的交互(一):UIWebView - 2.1 UIWebViewDelegate
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
extension ViewController: UIWebViewDelegate { | |
let jsString = "alert('UIWebView Loading from local file')" | |
webviewBrowser.stringByEvaluatingJavaScript(from: jsString) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment