I have a subclass of UIView
in which I've added some subviews to in my initWithFrame
method. I've added a background, amongst other things.
I want to draw some shapes on top of these views (which happen to cover the entire screen). But, when I implement drawRect:
to draw these shapes, they didn't show up. Upon removing the other subviews, I realized that the shapes were begin drawn "under" the other subviews.
How can I draw them on top?