Images in segmentedControl segments do not draw properly

This is UIKit app, in Xcode 26.3 (but same issue in 16.4).

I create (in IB) a segmentedControl, with 2 segments.

I set the images that are stored in assets. They show properly in Xcode. But when running (26.1 simulator), they just show a black image.

In Xcode                                                                           On simulator at runtime

I've tried to set background to clear as well as tint, to no avail.

What am I missing ?

Images in segmentedControl segments do not draw properly
 
 
Q