From Xojo Documentation
Class (inherits from MobileUIControl)
| This class is supported on Mobile.
Use ＃If...＃Endif with the Target... constants to ensure you only use this class where it is supported.
New in 2020r2
A Switch control is used to indicate an on/off, yes/no or true/false selection.