playMaker

Author Topic: How to detect PC vs iPad?  (Read 2848 times)

indeed

  • Junior Playmaker
  • **
  • Posts: 85
How to detect PC vs iPad?
« 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.

indeed

  • Junior Playmaker
  • **
  • Posts: 85
Re: How to detect PC vs iPad?
« Reply #1 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.

admin900

  • Playmaker Newbie
  • *
  • Posts: 2