I need to pass certain values to my HTML from WKWebview.
Here is my code snipped of what I've tried yet.
[self.webView evaluateJavaScript:@"document.getElementById('popo_data').innerHTML = feed,OMG,BTC;" completionHandler:^(NSString *result, NSError *error) {
if(error != nil) {
NSLog(@"######## SomeFunction Error: %@",error);
return;
}
NSLog(@"######## SomeFunction Success");
}];