serbanghita / Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

Home Page:http://mobiledetect.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tablet IOS detection

AzapMedia opened this issue · comments

iPad AIR & iPad PRO Not detected as tablet
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15

Hey, AzapMedia.

According to my research, that's Apple's desired behavior...

Check out this comment

This is still an issue. Noticed that if using bootstrap classes iPad detected correctly. As a workaround created two modules that use the classes visible-desktop, hidden-desktop, etc. Would prefer to use DSC. Is a fix pending?