Contents

accessibilityAttributeValue(_:forParameter:)

Returns the value of the receiver’s parameterized attribute corresponding to the specified attribute name and parameter.

Declaration

func accessibilityAttributeValue(_ attribute: NSAccessibility.ParameterizedAttribute, forParameter parameter: Any?) -> Any?

Parameters

  • attribute:

    The name of the attribute. See Nsaccessibility constants for lists of attribute names.

  • parameter:

    The parameter.

Discussion

If you implement this method, also implement accessibilityParameterizedAttributeNames().

See Also

Deprecated Methods