UIAccessibilityIdentification

extension UIAccessibilityIdentification where Self: NSObject
  • Add an accessibility identifier to a UIKit element.

    Declaration

    Swift

    public func addAccessibility<T>(aip: T.Type, element: T.Element) where T : AccessibilityIdentifierProvider

    Parameters

    aip

    AIP to provide the Element.

    element

    Element of AIP to assign to the UIKit element.