Heaven of all working Codes
January 17, 2012 / Corona SDK
It is very simple to get which device are you running the app in corona SDK.
Take a look at the code snippet.
local device = system.getInfo( "model" )
if (device == "iPad") then
print ("iPhone or Android");
Tags: Corona SDK, DEVICE, iPhone or Android, system.getInfo
Your email address will not be published. Required fields are marked *
Your Name *
Your Email *
Theme by HermesThemes
Copyright © 2018 CoderzHeaven. All Rights Reserved