resolveImageFromBundle

fun NSBundle.resolveImageFromBundle(imageName: String): UIImage?

Resolves a native iOS UIImage by its name from this bundle, falling back to the main application bundle.

Return

The resolved UIImage instance, or null if it cannot be found.

Parameters

imageName

The name of the image asset in the asset catalog.