Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Check if running on iPhone

edited April 2014 in General Posts: 3

Hello,

Is there a way in LUA code to test if the app is being run on an iPhone? I;d like to layout images differently.
thanks,
rich

Tagged:

Comments

  • edited April 2014 Posts: 425

    You could get the WIDTH and HEIGHT and compare them with an iPhone's / iPad's measurements

  • BriarfoxBriarfox Mod
    Posts: 1,542

    device = deviceMetrics().platform

Sign In or Register to comment.