ControlWidgetToggle
struct · iOS 18.0+ · SDK 27.1
@MainActor @preconcurrency struct ControlWidgetToggle<Label, ValueLabel, Action> where Label : View, ValueLabel : ViewA control template representing a toggle. Toggles are controls that have two states, "off" and "on".
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ControlWidgetToggle.body
This protocol needs associated types that cannot yet cross the bridge.
ControlWidgetToggle.init(isOn:action:label:valueLabel:)
This declaration needs Swift generic type arguments. (no canonical witness for Action)
ControlWidgetToggle.init(isOn:action:label:)
This declaration needs Swift generic type arguments. (no canonical witness for Action)
ControlWidgetToggle.init(_:isOn:action:valueLabel:)
This declaration needs Swift generic type arguments. (no canonical witness for Action)
ControlWidgetToggle.init(_:isOn:action:valueLabel:)
This declaration needs Swift generic type arguments. (no canonical witness for Action)
ControlWidgetToggle.init(_:isOn:action:valueLabel:)
This declaration needs Swift generic type arguments. (no canonical witness for Action)