I am creating UIProgressView
from nib
. I want to increase its height but it is fixed to 9. For iPad
I need to increase its height. How it can be done?
Use a height constraint to increase the size of the progress bar. Then you can use . cornerRadius and . clipsToBounds to round the corners as expected.
Use CGAffineTransform to change dimensions:
CGAffineTransform transform = CGAffineTransformMakeScale(1.0f, 3.0f); progressView.transform = transform;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With