The responder chain sends an event to a view and then to its controller. But how does the system know the controller object for the view ? I didn’t find any property in UIView that stores the reference to its controller. On the other hand, a controller clearly has the view property to identify its view.
Share
UIView(UIRespondersubclass) knows about it’s viewcontroller or superview through the instance method- (UIResponder *)nextResponderFrom
UIResponderclass reference: