in case you run into the same trouble like me, needing to detect if you are on mobile or not and browserinfo op fails on iPads, here is a possible solution.
the internet says iPads request websites as Desktop by default, rendering the browser info result useless. the copycat code to look if it has touchinput and is a mac indicates an iPad, at least for now. As long as apple doesn’t release a mac with a touchscreen.
const ipadbool = op.outBool(“isIpad”);
let isIOS = (/iPad|iPhone|iPod/.test(navigator.platform) ||
(navigator.platform === ‘MacIntel’ && navigator.maxTouchPoints > 1)) &&