Dear all,
I am trying to make my UI look good on both smartphones and tablets, but now I am facing this problem: how can I detect if I’m running on a smartphone or tablet?
My guess is to use **system.getInfo() **with a map name/type (e.g., “iPhone” with “Smartphone”, “iPad” with “Tablet”), but the model property seems to be not suitable for this.
For instance, what is the _complete list of models_supported by corona? But more importantly, what if I’m running on a new device with an unknown model string?
How do you “safely” detect if you’re running on a smartphone or on a tablet?
Thanks for the pointers!