There is another initializer for UIImage with which you can specify bundle.
Should that answer your need ?
PS: it is not a very good idea to ginve the same name to different resources, even if in different folders. You will get confused one day or another.
Returns the named image that is also compatible with the specified trait collection.
init?(named name: String, in bundle: Bundle?, compatibleWith traitCollection: UITraitCollection?)
The name of the image. For images in asset catalogs, specify the name of the image asset. For PNG image files, specify the filename without the filename extension. For all other image file formats, include the filename extension in the name.
The bundle containing the image file or asset catalog. Specify
nilto search the app’s main bundle.
The traits associated with the intended environment for the image. Use this parameter to ensure that the correct variant of the image is loaded. If you specify
nil, this method uses the traits associated with the main screen.