UIView에서 상위에 있는 UIViewController 찾아오기
// 상위 뷰 중에 원하는 뷰컨트롤러 얻어오는 거임. - (UIViewController*)getHomeViewController { for (UIView* next = [self.view superview]; next; next = next.superview) { UIResponder* nextResponder = [next nextResponder]; if ([nextResponder isKindOfClass:[HoppinHomeViewController class]]) { return (UIViewController*)nextResponder; } } return nil; }