Contents

init(font:scale:)

Creates a configuration object with the specified font and scale information.

Declaration

convenience init(font: UIFont, scale: UIImage.SymbolScale)

Parameters

  • font:

    The font from which to derive the configuration attributes.

  • scale:

    The symbol image scale variant to select. Use this parameter to make the image appear bigger or smaller than text that uses the same font. For a list of possible values, see Symbolscale.

Return Value

A new symbol configuration object with the specified information.

See Also

Creating a symbol configuration