Hello!
I’m using this plugin of detecting mobile/tablet devices.
I used this script to detect tablet devices:
<?php if ($page->isTablet()): ?>
<h1> tablet </h1>
<?php else: ?>
<h1> desktop </h1>
<?php endif ?>
It works good when I’m on iPad mode in the developer tools, but when I use a real iPad nothing changes. Any idea why?
BTW in mobile devices it works good both inspect and the mobile device itself:
<?php if ($page->isMobile()): ?>
thanks!