【发布时间】:2014-03-11 03:04:22
【问题描述】:
所以我知道我们可以通过以下方式调用本机函数 cordova.exec(成功,失败,...
而不是像关联回调
ChildBrowser._onClose = function()
{
window.plugins.childBrowser.onClose();
};
而不是做类似的事情:
NSString* jsCallback = [NSString stringWithFormat:@"window.plugins.childBrowser.onClose('%@');", (NSString*) booleanString];
当我成功完成某个场景时,如何调用我的success回调函数?
【问题讨论】:
标签: objective-c cordova