Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 566 Bytes

is_iPhone.markdown

File metadata and controls

22 lines (14 loc) · 566 Bytes

device.is_iPhone

 
Type Boolean
Library device.*
Keywords device, iPhone
See also Sample code

Overview

This property indicates whether the device running the application is an iPhone.

Example

local device = require 'plugin.device'

print( device.is_iPhone )