accessibilityPerformIncrement()
Increments the switch’s value.
Declaration
optional func accessibilityPerformIncrement() -> BoolReturn 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.