Page 1 of 1

How to find out whether screen is a mobile device?

Posted: Sun Feb 25, 2018 9:59 am
by es_91
Hi

Does SpiderBasic feature a way to find out the screen orientation and sizing preferences (like dpi scale) of the host device?

Greetings

es_91

Re: How to find out whether screen is a mobile device?

Posted: Mon Feb 26, 2018 11:59 am
by tj1010

Re: How to find out whether screen is a mobile device?

Posted: Mon Feb 26, 2018 9:55 pm
by es_91
Thank you, tj, much appreciated since that does it.

Feature request for this is in the making.

//btw
i can easily handle this method inside an inline alert box but how to use the devicePixelRatio with a SpiderBasic variable to further work with it? (inline noob question)