html5页面嵌入公司开发的安卓,ios的webview中,如何用js控制只能在公司的app中打开,其他例如浏览器中,手机模拟器中都无法打开,像微信网页提示在微信客户端打开的提示。有好的方法吗?求指教
迷茫2017-04-17 13:55:42
You can add a piece of js to the header of your page, and then pass a value to the page when the webview opens the page. When the page is loaded and executed such as onload, check to see if it is your own app