Objective-C Tips & Trick - Prioregroup.com
[Objective-C] UIWebView asynchronous javascript call
       
back

//
// UIWebView asynchronous javascript call
//
// javascript function
NSString *javascriptString = @"my_function();";
// allocated UIWebView
[webView performSelectorOnMainThread:@selector(stringByEvaluatingJavaScriptFromString:) withObject:javascriptString waitUntilDone:NO]






Copyright © 1996-2018 Centro Studi Informatica di Danilo Priore. All rights reserved. P.I.10149810581.
prioregroup.com