Contents

preferredSymbolConfigurationForImage(in:)

Returns the preferred symbol configuration for a button state.

Declaration

func preferredSymbolConfigurationForImage(in state: UIControl.State) -> UIImage.SymbolConfiguration?

Parameters

  • state:

    The state that uses the symbol configuration. Possible values are described in State Swift.struct.

See Also

Managing images and tint color