issues
search
wendux
/
DSBridge-IOS
:earth_asia: A modern cross-platform JavaScript bridge, through which you can invoke each other's functions synchronously or asynchronously between JavaScript and native.
1.96k
stars
305
forks
source link
请问有什么好的办法,判断 html 是在移动端应用(app),还是移动端浏览器中打开的?
#83
Closed
qq757622960
closed
5 years ago
wendux
commented
5 years ago
可以在原生中设置webview UA,JS中通过UA判断
可以在原生中设置webview UA,JS中通过UA判断