Check if running on iPhone

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

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

device = deviceMetrics().platform