摘要: - (UIViewController *)viewController { for (UIView* next = [selfsuperview]; next; next = next.superview) { UIResponder *nextResponder = [next nextResponder]; if ([nextResponder isKindOfClass:[UIViewControllerclass]]) { return (UIViewController *)nextResponder; } } returnnil;} 阅读全文
posted @ 2014-03-17 22:57 ymonke 阅读(172) 评论(0) 推荐(0) 编辑