I have a UIBezierPath
inside custom UIView
, draw()
. I want to fill that path, lets say a rectangle from bottom to top. How can I implement this.
From Here I have seen using CAShapeLayer
its possible. That is working fine with animation but filling is not happening from bottom to top on the rectangle. Please guide.
Is this what you are asking for?