bowser
bowser copied to clipboard
Detect iOS14 failing.
On your demo seems you are able to detect iOS14. My code
<script src="https://cdn.jsdelivr.net/npm/bowser@latest/es5.js"></script>
<script>
var bwsr = bowser.parse(window.navigator.userAgent);
alert(bwsr.os.version);
</script>
This returns 10.15.6 on iOS 14. Why is this a different result than your demo?
Thanks
I'm not a maintainer of this project but just stumbled across your issue. On iPhone it will work properly. iPads now spoof their user agent as macOS so they receive desktop websites, which is why you are receiving macOS 10.15.6 Catalina