device icon indicating copy to clipboard operation
device copied to clipboard

the isTablet value is false, but the isDesktop is true when using safari on ipad pro

Open PingZi818 opened this issue 1 year ago • 1 comments

PingZi818 avatar Jun 16 '23 08:06 PingZi818

If you use Safari on your iPad Pro it will detect as Desktop, but if you use another browser such as Google Chrome it will detect as Tablet.

This was done on purpose by Apple because users had demanded the browser on the 12.9" iPad Pro to be treated as desktop instead of several websites still used a more limited mobile site. In 2018 with the iPad Pro redesign, they made Safari act and detect the same as on the desktop.

As long something is read by a user agent, it's how it will be detected.

renegadevi avatar Jun 22 '23 21:06 renegadevi