I have an UIView which has white background color set. I have set the blending mode of the CGContext of the UIView as 'kCGBlendModeCopy'. Then,
The transparent area covered by the path appears in black whereas my expected output was that it should be UIView's background color (i.e. white).
What is the problem here?
There is no problem here and hence no solution. Since we are drawing on the UIView's context with transparency, we can see the screen that is in black color. The drawing hierarchy is like this: