Switch
This element allows the user of your iOS app to turn something on or off.
Properties
To show the properties of the Switch, click the Properties tab (the slider icon) in the upper right sidebar.
Switch
-
Name
Here you give the element a name. This name is only used within appdoo. For example, you can quickly see in the outline where each Switch is located. You can also edit the name by double-clicking on the Switch in the outline. We recommend that you assign unique names when working with Layout Constraints and Data Links. -
Color
Here you define the color for the active state of your switch. -
On
Check this box if you want the switch to be turned on when the screen is first displayed.
Advanced
- Hidden
If you activate this checkbox, your Switch will still be present on your work space, but will not be displayed in the app. This can be useful, for example, if you only want to display the Switch under certain circumstances. You can control this via the “Hidden” field in the “Data Links” area.
Geometry
All information about this area can be found on the separate Geometry page.
Data Links
The following properties of the element can be set using the data links:
- On
- Hidden
All information about this area can be found on the separate Data Links page.