JS與Android IOS 交互

//首先判斷IOS的webview是否存在該方法 if(typeof iOScheckOrder === 'function'){ iOScheckOrder(result);//調用ios }else if(window.orderId){//判斷Android的對象是否存在   window.orderId.orderIdCallAndroid(result);//調用對象所對應的方
相關文章
相關標籤/搜索