iOS Developer Library

Developer

UIASwitch Class Reference

Options
Deployment Target:

On This Page

UIASwitch

The UIASwitch class allows access to, and control of, switch elements in your app. More...

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable
  • Sets the specified switch to the specified value.

    Declaration

    JavaScript

    (undefined) setValue(Boolean value)

    Parameters

    value

    A boolean value to represent the desired state, true for On, false for Off.