Instance Method インスタンスメソッド

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 Constants for lists of attribute names.

parameter

The parameter.

Discussion 解説

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

See Also 参照

Deprecated 非推奨