loadTemplateImage

fun NSBundle.loadTemplateImage(imageName: String): UIImage

Loads a template image from this bundle by its name, configured with template rendering mode to allow tinting filters.

Return

The resolved template UIImage.

Parameters

imageName

The name of the image asset in the asset catalog.