如何让Webview调用H5中的Javascript方法
webview打开了H5页面,需要调用H5中的某个方法
H5只需要将该方法写入到window对象中
window.callBackFunction = () => { console.log('webview use js function') }
webview打开了H5页面,需要调用H5中的某个方法
H5只需要将该方法写入到window对象中
window.callBackFunction = () => { console.log('webview use js function') }