Trait
public enum Trait
extension AccessibilityElement.Trait: Hashable, Equatable
-
Used in conjunction with UIAccessibilityTrait.adjustable, these will be called to allow accessible adjustment of a value, for example in a slider or stepper control. See Accessibility Increment Documentation for further information.
Declaration
Swift
public typealias IncrementAction = () -> Void
-
Used in conjunction with UIAccessibilityTrait.adjustable, these will be called to allow accessible adjustment of a value, for example in a slider or stepper control. See Accessibility Decrement Documentation for further information.
Declaration
Swift
public typealias DecrementAction = () -> Void
-
Declaration
Swift
case button
-
Declaration
Swift
case link
-
Declaration
Swift
case header
-
Declaration
Swift
case searchField
-
Declaration
Swift
case image
-
Declaration
Swift
case selected
-
Declaration
Swift
case playsSound
-
Declaration
Swift
case keyboardKey
-
Declaration
Swift
case staticText
-
Declaration
Swift
case summaryElement
-
Declaration
Swift
case notEnabled
-
Declaration
Swift
case updatesFrequently
-
Declaration
Swift
case startsMediaSession
-
Declaration
Swift
case adjustable(IncrementAction, DecrementAction)
-
Declaration
Swift
case allowsDirectInteraction
-
Declaration
Swift
case causesPageTurn
-
Declaration
Swift
case tabBar
-
Declaration
Swift
public static func == (lhs: AccessibilityElement.Trait, rhs: AccessibilityElement.Trait) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)