Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // UIWebView asynchronous javascript call
- //
- // javascript function
- NSString *javascriptString = @"my_function();";
- // allocated UIWebView
- [webView performSelectorOnMainThread:@selector(stringByEvaluatingJavaScriptFromString:) withObject:javascriptString waitUntilDone:NO]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement