如果您的站点是在SFSafariViewController中加载的,而不是在纯Safari中加载的,那么如何使用javascript来判断?我查看了window.navigator.userAgent,但它在两个浏览器上输出相同的内容。
发布于 2018-02-16 05:57:33
根据这个Apple Developer thread,它们应该是不同的;我也会检查iOS User Agents。
https://stackoverflow.com/questions/35662533
复制相似问题