Is there a built-in way to get from a UIView to its UIViewController? I know you can get from UIViewController to its UIView
UIView
UIViewController
Even though this can technically be solved as pgb recommends, IMHO, this is a design flaw. The view should not need to be aware of the controller.