cbschuld/Browser.php

isTablet does not detect iPad Pro

Opened this issue · 0 comments

I just noticed that iPads Pro are not detected as tablets.

Here an example of an iPad Pro user agent string:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15

As far as I could read, as of today iPads Pro are same as intel macs, the only way to potentially detect them would be checking for touchscreen functionality.

Any plans, ideas or workarounds to detect iPad Pro on PHP side?

Thanks in advance.