UIKit.UISwitch.SetState Method
This method changes the state of the switch, and will animate the change if specified.

Syntax

[Foundation.Export("setOn:animated:")]
public virtual void SetState (bool newState, bool animated)

Parameters

newState
The new value of the switch.
animated
If the change in state should be animated.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0