Contents

titleTextAttributes(for:)

Returns the text attributes of the title for a given control state.

Declaration

func titleTextAttributes(for state: UIControl.State) -> [NSAttributedString.Key : Any]?

Parameters

  • state:

    A control state.

Return Value

The text attributes of the title for state.

Discussion

For more details, see setTitleTextAttributes(_:for:)

See Also

Customizing appearance