The previous explanation was muddled up and rewritten. - 2019.07.23
- I have two UIView named MainView, CanvasView.
- MainView, CanvasView have the same frame, and More precisely, there is CanvasView on MainView.
- Using UIGraphicsGetCurrentContext, I colored a certain area for CanvasView.
Next, I want to fill the MainView's area just like an uncoloured area of CanvasView with different colors or images like photoshop feature filling selected areas or fill other areas.
Example - simple scenario