DeviceType property
A text string indicating the type of the device running the app, or a blank value if the device is not known.
These are the values of this property:
-
iphone
for Apple iPhone devices. -
ipad
for Apple iPad devices. -
android
for devices running Google's Android operating system.
Use the OperatingSystem property instead to determine the operating system the device is running.
This property is a read-only property, meaning that no formula can be assigned to it.
Example
This formula is associated with the Visible property of a text box containing instructions on how to add the app to the user's iPhone home screen. As these instructions are specific to the device type, ensuring that they only appear on iPhone devices makes sense. A different text box could be present with instructions specific to Android devices, with a similar formula associated with its Visible property.