Type | Boolean |
Library | device.* |
Keywords | device, tall |
See also | Sample code |
This property indicates whether the device running the application is a tall device. A tall device is one whose height in pixels is more than 1.5 times its width in pixels.
local device = require 'plugin.device'
print( device.isTall )