init(weight:)
Creates a configuration object with the specified weight information.
Declaration
convenience init(weight: UIImage.SymbolWeight)Parameters
- weight:
The symbol image weight variant to select. Specify a value that is comparable to the font weight of any matching text. For a list of possible values, see Symbolweight.
Return Value
A new symbol configuration object with the specified information.