I have a UIView inside the UIView of UIViewController with Height = 149.0 and Width = 123.5.
I am filling this UIView with color, and I am setting the height of the color to be filled based on a response in percentage from a rest url.
How do I fill the entire View with the above mentioned dimensions for 100% and different values.
Any help will be appreciated. Thank you
If you want to fill multiple color in your
uiview
then you need to subclassUIView
and should override it'sdrawRect
method something like,