I have a progress bar which when it hits 100%, and if given a certain condition, I want to cover it with an image which is the same size as the progress bar. I’m not sure if I need a UIImageView or a UIImage. Do I then add it as a subview to my View that has the progress bar, and set the frame so that it matches the coordinates of the progress bar? I haven’t done anything like this before.
Share
A better design would be to extend the UIProgressView class, like the following. I haven’t tested the code, so make any adjustments as necessary: