init(systemName:)
Creates a system symbol image.
Declaration
init(systemName: String)Parameters
- systemName:
The name of the system symbol image. Use the SF Symbols app to look up the names of system symbol images.
Discussion
This initializer creates an image using a system-provided symbol. Use SF Symbols to find symbols and their corresponding names.
To create a custom symbol image from your app’s asset catalog, use init(_:bundle:) instead.