
I am trying to figure out how I can create a UIView with the shape of ‘View 2’ (see figure).
I have only been able to draw a single line bezier curve that fits the shape, but I cannot figure out how to make the view itself this shape…
Can anyone point me in the right direction or provide some sample code?
Once I create this view. I will be looking for it to follow another bezier curve that is the same shape.
I don’t know logic for your shape but for example u want uiview to be like :
Refere this link.