UIProgressView custom maximum value

pmerino picture pmerino · Sep 13, 2011 · Viewed 7.6k times · Source

I'm making an app where I retrive some value from a server, the server load. This value can be from 0.00 to 100.00, but UIProgressView only allows from 0.00 to 1.00. Is there any way I can extend the 1.00 limit to 100.00?

Answer

Alan Moore picture Alan Moore · Sep 13, 2011

I suggest you simply divide your value by 100 and put it into your progressview that way.