Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change ProgressView borderColor

enter image description here

My objective is to make ProgressView border colored like with green, red etc as mentioned in above screenshot.

I am using Custom classes provided by this url. But there is no such border coloring format provided there http://pwiddershoven.nl/blog/2009/01/04/colored-uiprogressview.html

Developer's please suggest

Thanks

like image 309
Tariq Avatar asked Dec 05 '25 08:12

Tariq


1 Answers

Progress.layer.borderWidth = 0.3;
Progress.layer.borderColor = [[UIColor redColor] CGColor];
like image 71
Fadi Abuzant Avatar answered Dec 07 '25 20:12

Fadi Abuzant



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!