84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
html5页面嵌入公司开发的安卓,ios的webview中,如何用js控制只能在公司的app中打开,其他例如浏览器中,手机模拟器中都无法打开,像微信网页提示在微信客户端打开的提示。有好的方法吗?求指教
光阴似箭催人老,日月如移越少年。
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
Match user agent string or private API?
Set a special agent header
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
Match user agent string or private API?
Set a special agent header