Contents

accessibilityPerformDecrement()

Decrements the switch’s value.

Declaration

optional func accessibilityPerformDecrement() -> Bool

Return Value

true if the action was successfully triggered; otherwise, false. This method does not indicate the success or failure of the action, just the fact that the action was successfully triggered.

Discussion

This method must post an valueChanged notification after changing the switch’s value.

See Also

Supporting Accessibility