toggleButton
The accessibility element behaves like a toggle button.
Declaration
nonisolated static let toggleButton: UIAccessibilityTraitsDiscussion
Use this trait to characterize an accessibility element that represents a button that toggles a value on, off, or mixed status. VoiceOver will describe the options offered by the toggle button.