The UIProgressView by default has rounded corners.
How can I get rid of those rounded corners? I wish to have a standard rectangle view.
I have tried progressView.layer.cornerRadius = 0;, but no use.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to subclass
UIProgressViewand overridedrawRect.EDIT 08/31/2016:
Here was a tutorial
😉
Come on: This one is from 2012, the Question is closed, iOS had a few updates and so had the SDK and the ProgressView API, we’re (hopefully) using swift now … and yes: The link is broken. So, feel free to downvote this one, but ask yourself, if a non-broken link would really solve your problem.