Closed av01d closed 1 year ago
Hello @av01d
all modern iPads (except iPad mini) are using "Desktop" as default mode. Devices appear as an MacBook like device.
Switch to "Mobile" in your Safari settings to act as an mobile device. If switched to mobile mode in safari all your mentioned is**** will be true also using Safari.
Apple changed this behaviour long time ago.
kind regards
Issue description Using version 3.74.0 of this library, Safari on iPad causes all kinds of incorrect detections. Both
isMobile()
andisTablet()
are reported asfalse
, while they both should betrue
.isIOS()
,isIPad()
andisIpadOS()
also yieldfalse
(should betrue
).Chrome on the same iPad does report correctly (
true
forisMobile()
,isTablet()
,isIPad()
andisIOS()
);Easily tested on https://demo.mobiledetect.net as well.
User-Agent(s) UserAgent of my Safari on iPad:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15
Suggestions Please fix?