Contents

init(systemSymbolName:variableValue:accessibilityDescription:)

Creates a symbol image with the system symbol name and variable value you specify.

Declaration

convenience init?(systemSymbolName name: String, variableValue value: Double, accessibilityDescription description: String?)

Parameters

  • name:

    The name of the system symbol image.

  • value:

    The value the system uses to customize the symbol’s content, between 0 and 1.

  • description:

    The accessibility description for the symbol image, if any.

Discussion

The value parameter is valid for symbols that support variable rendering.

To look up the names of system symbol images, download the SF Symbols app from Apple Design Resources.

See Also

Creating Images by Name