Type Property

disabled

Disabled state of a control.

Declaration

static var disabled: UIControl.State { get }

Discussion

User interactions with disabled control have no effect and the control draws itself with a dimmed appearance to reflect that it is disabled. You can retrieve and set this value through the isEnabled property.