Function

UIAccessibilityIsSwitchControlRunning()

Returns a Boolean value indicating whether Switch Control is enabled.

Declaration

func UIAccessibilityIsSwitchControlRunning() -> Bool

Return Value

true if the user has enabled Switch Control in Settings; otherwise, false.