An object containing the specific font, size, style, and weight attributes to apply to a symbol image.
- iOS 13.0+Beta
- tvOS 13.0+Beta
- watchOS 6.0+Beta
Symbol image configuration objects include details such as the point size, scale, text style, weight, and font to apply to your symbol image. The system uses these details to determine which variant of the image to use and how to scale or style the image.
UIImage objects are immutable after you create them. If you use the
applying(_:) method on the object, the new image attributes replace any previous attributes you supplied. After creating a symbol configuration object, assign it to the
preferred property of the
UIImage object you use to display the image. If you draw the image directly, use the
with method to create a new image that contains the new attributes.