I want notification in phonegap when any event/method get call in Objective C code?
Thanx in adv开发者_Go百科ance
You can invoke your Javascript logic from Objective C by calling "stringByEvaluatingJavascriptFromString" on the WebView object:
NSString* jsCallback = @"alert(\"Alert from Objective C!\");";
[webView stringByEvaluatingJavaScriptFromString:jsCallback ];
精彩评论