Hola Soy Edu Feliz Navidad Hola Soy Edu Feliz Navidad - 5 months ago 37
iOS Question

Rounded corner throughout the whole progress

I have a progress view and I see that if I change its corner radius I get rounded corners when the progress is 1.0 (full), however, I'd like to have rounded corner throughout the whole progress, for example, the image below shows a progress on half way, as you can see only the left end has rounded corners.

Progres (=========

I already set these properties on the


progressView.clipsToBounds = true
progressView.layer.cornerRadius = 3
progressView.layer.masksToBounds = true


I think you should search into the sublayer to find de blue one and apply the same treatment