init(symbolName:bundle:variableValue:)
Creates a symbol image with the specified symbol name and variable value.
Declaration
convenience init?(symbolName name: String, bundle: Bundle?, variableValue value: Double)Parameters
- name:
The name of the symbol image.
- bundle:
The bundle containing the image file or asset catalog.
- value:
The value the system uses to customize the symbol’s content, between
0and1.
Discussion
The value parameter is valid for symbols that support variable rendering.