Question

How can I override the drawRect method of UIView such that each time I call [myView setNeedsDisplay] it will draw a new random circle on the screen with a random color. It should not replace old circles. So, it should just look like a bunch of circles stacking up all over the screen, one after another.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top