JS code
<Script Language="JavaScript"> function sayHello(){ alert("hello"); } </Script>
UIWebView
[webView stringByEvaluatingJavaScriptFromString:@"sayHello()"];
iOS, Android, Unity3D Education blog,
JS code
<Script Language="JavaScript"> function sayHello(){ alert("hello"); } </Script>
UIWebView
[webView stringByEvaluatingJavaScriptFromString:@"sayHello()"];
Dr. Powen Ko is a teacher and CEO on LoopTek LLC, and like to teaching. if you need to class, please let PowenKo know, he will love to service and sharing. LoopTek web site is www.looptek.com