bowser icon indicating copy to clipboard operation
bowser copied to clipboard

Detect iOS14 failing.

Open FuzzyWobble opened this issue 4 years ago • 1 comments

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

FuzzyWobble avatar Sep 21 '20 14:09 FuzzyWobble

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

ghost avatar Dec 03 '20 21:12 ghost