yannickl / YLProgressBar

UIProgressView replacement with an highly and fully customizable animated progress bar in pure Core Graphics
http://yannickloriot.com/library/ios/ylprogressbar/
MIT License
1.28k stars 186 forks source link

Why the progress animation always start at 30% ? #40

Closed bigship closed 8 years ago

bigship commented 8 years ago

How can I set the animation start at 0% ? I think that would be more naturally.

yannickl commented 8 years ago

You simply have to set the progress property to 0 when you init your component. Or may be there is something I don't understand with your question?

bigship commented 8 years ago

@yannickl Yes, you're right. I set progress property in IB, and it works like a charm ! Issue closed