Last updated: Sep 17, 2017 12:17
The orientation option is a constant, set between two predefined constants, these are not strings. In order to allow to rotate Device (Portrait/Landscape) through Data Table do the following:
- Set the strings in the Data Table
Use a string compare for the string with "Portrait".
Use a condition:
- If successful - Rotate Device to Portrait.
- If failed - Rotate Device to Landscape.
*Attached are the script and the Data Table that you can import and use.