I am trying to set the “Progress” and “Track” image to represent UIProgress using the constructor, the preview screen shows me the desired view with the track image as the background of the progress bar and the “Progress” image used for the progress bar. But when I run my code, both images are not used, and progress is displayed using the background color and the hue of the view. Can someone tell me how to override the hue color and background color and use the "Progress" and "Track Image" properties.

source
share