Type Method

configurationWithTextStyle:

Creates a configuration object with the specified font text style information.

Declaration

+ (instancetype)configurationWithTextStyle:(UIFontTextStyle)textStyle;

Parameters

textStyle

A system text style that determines the initial appearance of your symbol image. For a list of possible values, see UIFontTextStyle.

Return Value

A new symbol configuration object with the specified information.

Discussion

Symbol images pick up the font styling information associated with the specified text style, causing them to match any text that uses the same style. Like it does for the text, UIKit scales the image to match the current Dynamic Type setting.

See Also

Creating a Symbol Configuration Object

+ configurationWithPointSize:

Creates a configuration object with the specified point-size information.

+ configurationWithPointSize:weight:

Creates a configuration object with the specified point-size and weight information.

+ configurationWithPointSize:weight:scale:

Creates a configuration object with the specified point-size, weight, and scale information.

+ configurationWithScale:

Creates a configuration object with the specified scale information.

+ configurationWithTextStyle:scale:

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

+ configurationWithWeight:

Creates a configuration object with the specified weight information.

+ configurationWithFont:

Creates a new configuration object that with the specified font information.

+ configurationWithFont:scale:

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

UIImageSymbolScale

Constants indicating which scale variant of a symbol image to use.

UIImageSymbolWeight

Constants indicating which weight variant of a symbol image to use.