Function

UIFontWeightForImageSymbolWeight

Returns the font weight for the specified symbol weight.

Declaration

UIFontWeight UIFontWeightForImageSymbolWeight(UIImageSymbolWeight symbolWeight);

Parameters

symbolWeight

The symbol weight whose font weight you want.

Return Value

The UIFontWeight value that matches the specified symbol weight.