drawRect on top of subviews
A subview will always be drawn on “top” of its superview. Depending on your specific requirements, you may need to have a plain UIView as the background/container view, with your existing subviews in there, and then your custom view as another subview added to the very top, so it has the highest Z-order. This would … Read more