Reputation: 1017
It seems to me that when setting a UIProgressView
s progress to a value between >0.0 and 0.05 always shows a progress of 0.05 (no matter the value).
I understand that this makes sense from a UX perspective, but does UIProgressView
have a property to turn it off?
Upvotes: 0
Views: 516
Reputation: 360
Judging from the PlayGround
below and from @Rohan Bhale's comment, UIProgressView
scales it's progress layer according to the view's frame size. The smaller the width, the less difference you will see at small .progress
ranges.
At 200 points width (as depicted below), there are in fact noticeable differences in your 0 .. 0.05 range.
Upvotes: 0