Trait

public enum Trait
extension Accessibility.Trait: Hashable, Equatable

Constants that describe how an accessibility element behaves. Set these traits to tell an assistive app how an accessibility element behaves or how to treat it. See UIAccessibilityTraits for further information.

Accessibility Traits

  • Declaration

    Swift

    public static func == (lhs: `Self`, rhs: `Self`) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)