Contents

accessibilityAttributeValue(_:)

Returns the value of the specified attribute in the receiver.

Declaration

func accessibilityAttributeValue(_ attribute: NSAccessibility.Attribute) -> Any?

Parameters

  • attribute:

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

Discussion

User interface classes must implement this method. Subclasses should invoke the superclass’s implementation, if it exists, if attribute is not implemented in the subclass.

See Also

Deprecated Methods