Playmaker Forum

PlayMaker Help & Tips => iOS Help => Topic started by: indeed on June 13, 2016, 09:42:00 AM

Title: How to detect PC vs iPad?
Post by: indeed on June 13, 2016, 09:42:00 AM
Hi, is there a way to detect if the current device is a PC or an iPad? For example, if a user is using a PC I would want a mouseOver to send an event, however if it's an iPad I'd want that same event sent by a screen tap (since you can't really mouseover on ipad).

Thanks and sorry if I'm missing something obvious. I searched but couldn't find anything.
Title: Re: How to detect PC vs iPad?
Post by: indeed on June 15, 2016, 02:08:34 PM
Anyone know? Is it common in this case to detect this within a single build, or to make two entirely different builds, one for PC and another for iOS? Just trying to get a sense of best practices.
Title: Re: How to detect PC vs iPad?
Post by: admin900 on June 17, 2016, 02:46:25 AM
http://hutonggames.com/playmakerforum/index.php?topic=4139.0