iOS Reference Library Apple Developer
Search

UIASwitch Class Reference

Inherits from

Overview

This class allows access to and control of switch elements in your application.

Tasks

Setting Switch Values

Methods

setValue

Sets the specified switch to the specified value.

(undefined) setValue(Boolean value)

Parameters
value

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




Last updated: 2010-04-16

Did this document help you? Yes It's good, but... Not helpful...