It seems it’s still the case, on an iPad I got:
console.log("is desktop : " + pc.platform.desktop); true
console.log("is mobile : " + pc.platform.mobile); false
console.log("is iOS : " + pc.platform.ios); false
I’m personally hesitant on whether we should/shouldn’t cater for this as technically, it is no longer consider to be iOS and is rendering in desktop mode.
Ok, so if Apple says it’s a desktop browser… ok, why not… but perhaps having a property here to know if it’s an iPad platform | PlayCanvas API Reference so we can manage this specific case?
Maybe. The question for me here (and probably some discussion) is whether a device that wants to treat the web as a desktop should be identifiable as an iPad?
Because it uses touch input? Running back into the problem now with using pc.platform.touch which is true on windows. Finally I will made my test against windows because I’m not able to know if it’s an iPad.
Edit windows return false, even if I’m a on windows because I’m in the browser?