Patrick Richards has a marvelous library to aid you in debugging your UIView heirarchy.
Introspect is small set of tools for iOS that aid in debugging user
interfaces built with UIKit. It’s especially useful for UI layouts that are
dynamically created or can change during runtime, or for tuning performance
by finding non-opaque views or views that are re-drawing unnecessarily. It’s
designed for use in the iPhone simulator, but can also be used on a device.
Looks like a nice way to poke around UIViews and see how stuff is rendered.