Contents

init(systemSymbolName:accessibilityDescription:)

Creates a symbol image with the system symbol name and accessibility description you specify.

Declaration

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

Parameters

  • name:

    The name of the system symbol image.

  • description:

    The accessibility description for the symbol image, if any.

Return Value

A symbol image based on the name you specify; otherwise nil if the method couldn’t find a suitable image.

Discussion

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

See Also

Creating Images by Name